aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-shaded
diff options
context:
space:
mode:
authorThomas Vérin <thomas.verin@sonarsource.com>2015-10-13 11:41:05 +0200
committerThomas Vérin <thomas.verin@sonarsource.com>2015-10-13 11:41:05 +0200
commitcf7a6b574f067e3d0ef4a4253d4422093366ba0e (patch)
tree4ad1a046fd811640e5637f63bc1d1e163b4bc735 /sonar-batch-shaded
parent448f166e5f38e5018d5bfddea8eb8e1b3624e573 (diff)
downloadsonarqube-cf7a6b574f067e3d0ef4a4253d4422093366ba0e.tar.gz
sonarqube-cf7a6b574f067e3d0ef4a4253d4422093366ba0e.zip
Updated poms to generate empty javadoc and sources jars to comply with maven central
Diffstat (limited to 'sonar-batch-shaded')
-rw-r--r--sonar-batch-shaded/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/sonar-batch-shaded/pom.xml b/sonar-batch-shaded/pom.xml
index 64a1a6d0d93..cd04fac4988 100644
--- a/sonar-batch-shaded/pom.xml
+++ b/sonar-batch-shaded/pom.xml
@@ -34,6 +34,32 @@
</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>