]> source.dussan.org Git - sonarqube.git/commitdiff
build: generate empty sources and javadoc jars for shaded artifact to comply with...
authorTom <thomas.verin@sonarsource.com>
Fri, 2 Dec 2016 10:50:31 +0000 (11:50 +0100)
committerTom <thomas.verin@sonarsource.com>
Fri, 9 Dec 2016 09:14:45 +0000 (10:14 +0100)
sonar-plugin-api-deps/pom.xml

index c38d547793cae8b6019d6f8be05e1041327f434a..919ef0659bbf07e33ed0f7a434aaced029ab1d04 100644 (file)
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>empty-javadoc-jar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <classifier>javadoc</classifier>
+            </configuration>
+          </execution>
+          <execution>
+            <id>empty-sources-jar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <classifier>sources</classifier>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>