diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-29 16:06:31 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-29 16:06:31 +0100 |
commit | fd1bf09182f969d57b927536c9daed331fd3d3c9 (patch) | |
tree | e3a9f91d19938a1c5302ebb6e71caf5d4cfe6654 /sonar-plugin-api-deps | |
parent | f6570b1dac3d8ee21101c4020b4f0492a64f50de (diff) | |
download | sonarqube-fd1bf09182f969d57b927536c9daed331fd3d3c9.tar.gz sonarqube-fd1bf09182f969d57b927536c9daed331fd3d3c9.zip |
Do not deploy internal artifacts to maven central repo
Diffstat (limited to 'sonar-plugin-api-deps')
-rw-r--r-- | sonar-plugin-api-deps/pom.xml | 42 |
1 files changed, 16 insertions, 26 deletions
diff --git a/sonar-plugin-api-deps/pom.xml b/sonar-plugin-api-deps/pom.xml index f1ff511c965..9fbc8886e05 100644 --- a/sonar-plugin-api-deps/pom.xml +++ b/sonar-plugin-api-deps/pom.xml @@ -152,32 +152,22 @@ </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> + + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |