]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3245 Minimal version of Maven to build Sonar - 2.2.1
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 7 Feb 2012 16:00:37 +0000 (20:00 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 7 Feb 2012 16:12:53 +0000 (20:12 +0400)
pom.xml

diff --git a/pom.xml b/pom.xml
index 5ef077289b40c6699c8b8940a4838548020e1021..22932f9cea3e53f365be300185bbdc8147939722 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     </snapshotRepository>
   </distributionManagement>
 
+  <prerequisites>
+    <!-- Note that "prerequisites" not inherited, but used by versions-maven-plugin 1.3.1 -->
+    <maven>${maven.min.version}</maven>
+  </prerequisites>
+
   <properties>
     <!--
     Warning before upgrading Derby to 10.8 : new conversion from BOOLEAN to CHAR.
@@ -85,6 +90,7 @@
     <sonar.skippedModules>sonar-deprecated,sonar-gwt-api,sonar-core-gwt,sonar-testing-harness,sonar-samples
     </sonar.skippedModules>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <maven.min.version>2.2.1</maven.min.version>
     <jdk.min.version>1.5</jdk.min.version>
 
     <!-- default GWT configuration. It's overridden by the profile 'dev' to speed up compilation in dev environments-->
                   <onlyWhenRelease>true</onlyWhenRelease>
                 </requireReleaseDeps>
                 <requireJavaVersion>
-                  <message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
-                  </message>
+                  <message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.</message>
                   <version>${jdk.min.version}</version>
                 </requireJavaVersion>
                 <requireMavenVersion>
-                  <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
-                  <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
+                  <message>To build this project Maven ${maven.min.version} (or upper) is required. Please install it.</message>
+                  <version>${maven.min.version}</version>
                 </requireMavenVersion>
                 <bannedDependencies>
                   <!-- See SONAR-2512 -->