aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-deps
diff options
context:
space:
mode:
authorTom <thomas.verin@sonarsource.com>2016-12-02 11:50:31 +0100
committertomverin <thomas.verin@sonarsource.com>2016-12-09 10:11:58 +0100
commitf768ac909e373886bb7e3734ae785d25d8507308 (patch)
tree14e134ea7397e51a84dbc7650f53c932b15e8596 /sonar-plugin-api-deps
parent1bccc81a961de2d5a8b65902ca26f09b536124db (diff)
downloadsonarqube-f768ac909e373886bb7e3734ae785d25d8507308.tar.gz
sonarqube-f768ac909e373886bb7e3734ae785d25d8507308.zip
build: generate empty sources and javadoc jars for shaded artifact to comply with maven central deploy
Diffstat (limited to 'sonar-plugin-api-deps')
-rw-r--r--sonar-plugin-api-deps/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/sonar-plugin-api-deps/pom.xml b/sonar-plugin-api-deps/pom.xml
index 96a11fc63df..cc83c5a9526 100644
--- a/sonar-plugin-api-deps/pom.xml
+++ b/sonar-plugin-api-deps/pom.xml
@@ -166,6 +166,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>
</project>