aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2012-02-07 20:00:37 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2012-02-07 20:12:53 +0400
commita0a695c883e0602c649eec8585bcd3e1560d04d2 (patch)
tree6777c0a1b58363dc1196fbc530b468cea14418e2 /pom.xml
parent9eab75bd1837093b628d50ed659f5016ce21921f (diff)
downloadsonarqube-a0a695c883e0602c649eec8585bcd3e1560d04d2.tar.gz
sonarqube-a0a695c883e0602c649eec8585bcd3e1560d04d2.zip
SONAR-3245 Minimal version of Maven to build Sonar - 2.2.1
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 5ef077289b4..22932f9cea3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,11 @@
</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-->
@@ -288,13 +294,12 @@
<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 -->