]> source.dussan.org Git - sonarqube.git/commitdiff
Upgrade to update center 1.13
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 23 Apr 2015 17:21:11 +0000 (19:21 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 23 Apr 2015 17:21:11 +0000 (19:21 +0200)
pom.xml
sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java

diff --git a/pom.xml b/pom.xml
index 5e96cd6bcd26d5c40a0dfd30c49e47382ab13e3c..2dee8a71b58826227ad7337d78b2f9663b97acf8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -65,7 +65,7 @@
   </prerequisites>
 
   <properties>
-    <sonarUpdateCenter.version>1.12.1</sonarUpdateCenter.version>
+    <sonarUpdateCenter.version>1.13</sonarUpdateCenter.version>
     <sonarJava.version>3.0</sonarJava.version>
     <sonarGit.version>1.0</sonarGit.version>
     <sonarSvn.version>1.0</sonarSvn.version>
         <plugin>
           <groupId>org.codehaus.sonar</groupId>
           <artifactId>sonar-packaging-maven-plugin</artifactId>
-          <version>1.12.1</version>
+          <version>${sonarUpdateCenter.version}</version>
         </plugin>
         <plugin>
           <!-- declared to avoid enforcer error during SQ analysis when Clirr plugin installed -->
index 54b18dc0bc22713ec64b250a1751503c084e334e..d9fcf3f02905e2a6309434636c66ab076ff09175 100644 (file)
@@ -208,8 +208,8 @@ public class DefaultPluginMetadata implements PluginMetadata, Comparable<PluginM
       return true;
     }
 
-    Version minimumVersion = Version.createRelease(this.sonarVersion);
-    Version actualVersion = Version.createRelease(sonarVersion);
+    Version minimumVersion = Version.create(this.sonarVersion).removeQualifier();
+    Version actualVersion = Version.create(sonarVersion).removeQualifier();
     return actualVersion.compareTo(minimumVersion) >= 0;
   }