Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2017-12-26 22:04:22 +0000
committerMatthias Sohn2017-12-27 01:55:08 +0000
commitfbdda5701ce248a2b7e6acacd03b5e6b890c3bac (patch)
tree2dfd673865a2ba06a94eaa7463f0ad3ca7f17e66
parent09e719493c105ac52b7ab57177223dac323f32dc (diff)
downloadegit-fbdda5701ce248a2b7e6acacd03b5e6b890c3bac.tar.gz
egit-fbdda5701ce248a2b7e6acacd03b5e6b890c3bac.tar.xz
egit-fbdda5701ce248a2b7e6acacd03b5e6b890c3bac.zip
Require maven 3.5.2
This prepares builds on Java 9 [1]. The maven 2 tag "prerequisites" is not honored by maven 3 hence use maven-enforcer-plugin to enforce the minimum maven version. [1] https://issues.apache.org/jira/browse/MNG-6148 Change-Id: I6bd1e0c0e21c142c2e356935ef9e3cc3d3e78fe2 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--pom.xml24
1 files changed, 20 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index f767bc299b..54f7fbb079 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,10 +15,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <prerequisites>
- <maven>3.0</maven>
- </prerequisites>
-
<groupId>org.eclipse.egit</groupId>
<artifactId>egit-parent</artifactId>
<version>4.10.0-SNAPSHOT</version>
@@ -301,6 +297,26 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.5.2</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<extensions>true</extensions>

Back to the top