aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-deps/pom.xml
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-plugin-api-deps/pom.xml
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-plugin-api-deps/pom.xml')
-rw-r--r--sonar-plugin-api-deps/pom.xml27
1 files changed, 26 insertions, 1 deletions
diff --git a/sonar-plugin-api-deps/pom.xml b/sonar-plugin-api-deps/pom.xml
index 5d34bbfa09d..b67fa593cc6 100644
--- a/sonar-plugin-api-deps/pom.xml
+++ b/sonar-plugin-api-deps/pom.xml
@@ -143,7 +143,32 @@
</goals>
<configuration>
<minimizeJar>false</minimizeJar>
-
+ </configuration>
+ </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>