aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-31 19:12:44 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-31 19:12:44 +0200
commite0d5ee24af00ba32f89e53027bcef11eecb66c8a (patch)
treea4f73aeafb0181e1c2142071cd1b4cd3b0269944 /pom.xml
parentb5e99e0a5709966a550a869367518c545794f6ae (diff)
downloadsonarqube-e0d5ee24af00ba32f89e53027bcef11eecb66c8a.tar.gz
sonarqube-e0d5ee24af00ba32f89e53027bcef11eecb66c8a.zip
Improve the release process
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index aa949ba78b5..66fd199333c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -274,6 +274,20 @@
</rules>
</configuration>
</execution>
+ <execution>
+ <id>enforce-dependency-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireReleaseDeps>
+ <message>No SNAPSHOT versions allowed for dependencies</message>
+ <onlyWhenRelease>true</onlyWhenRelease>
+ </requireReleaseDeps>
+ </rules>
+ </configuration>
+ </execution>
<execution>
<id>enforce-java-version</id>
<goals>
@@ -903,7 +917,7 @@
<execution>
<id>attach-javadocs</id>
<goals>
- <goal>aggregate-jar</goal>
+ <goal>jar</goal>
</goals>
</execution>
</executions>