]> source.dussan.org Git - sonarqube.git/commitdiff
Improve the release process
authorsimonbrandhof <simon.brandhof@gmail.com>
Thu, 31 Mar 2011 17:12:44 +0000 (19:12 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Thu, 31 Mar 2011 17:12:44 +0000 (19:12 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index aa949ba78b5b4430b80f6af2bed6a5dc10e05aea..66fd199333c818c6b05a4c7f62d045dbebee92c4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 </requirePluginVersions>
               </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>
               <execution>
                 <id>attach-javadocs</id>
                 <goals>
-                  <goal>aggregate-jar</goal>
+                  <goal>jar</goal>
                 </goals>
               </execution>
             </executions>