aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-03-30 23:01:42 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-03-30 23:02:01 +0200
commit3b75c616894d079d86b2f218315da33a4636382d (patch)
tree6cddedf9060522a3be75311cd30698e16b2a3a28 /pom.xml
parentb1e329a5182f8d611fdefe98ea7c3b5a54d2d7a3 (diff)
downloadsonarqube-3b75c616894d079d86b2f218315da33a4636382d.tar.gz
sonarqube-3b75c616894d079d86b2f218315da33a4636382d.zip
Do not support maven 3.3.x (yet)
Fail-fast instead of failing with strange message in NPM (frontend-m-p)
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 055a984fbd3..0a42ea7e833 100644
--- a/pom.xml
+++ b/pom.xml
@@ -378,9 +378,15 @@
<version>${jdk.min.version}</version>
</requireJavaVersion>
<requireMavenVersion>
- <message>To build this project Maven ${maven.min.version} (or upper) is required. Please install it.
+ <message>Maven ${maven.min.version} to 3.2.x is required.
</message>
- <version>${maven.min.version}</version>
+ <!-- maven 3.3.1 is not supported because of frontend-maven-plugin :
+ https://github.com/eirslett/frontend-maven-plugin/issues/184
+ https://github.com/eirslett/frontend-maven-plugin/commit/c21b91cc91b8a4f329ad48f6fc1f6269ad0f1f5d
+ Upgrading to frontend-m-p 0.0.23 drops support of maven 3.0, which is currently the reference version
+ used at SonarSource.
+ -->
+ <version>[${maven.min.version},3.3)</version>
</requireMavenVersion>
<bannedDependencies>
<!-- See SONAR-2512 -->