summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2017-12-27 02:54:40 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2017-12-27 02:54:40 +0100
commit658486386648f186ed8ce934e0abf4d999252a67 (patch)
treecc2a6b5fb75b913e981d27ee54c11de6b7815710 /org.eclipse.jgit.packaging
parentabc407d2525035c934047d9ad7e84fc1277cd32b (diff)
downloadjgit-658486386648f186ed8ce934e0abf4d999252a67.tar.gz
jgit-658486386648f186ed8ce934e0abf4d999252a67.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: I57f5051a0641b1bd21f9f888f1a17d8f98e879e5 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.packaging')
-rw-r--r--org.eclipse.jgit.packaging/pom.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml
index b68780e168..f0609bcc47 100644
--- a/org.eclipse.jgit.packaging/pom.xml
+++ b/org.eclipse.jgit.packaging/pom.xml
@@ -120,6 +120,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>
<version>${tycho-version}</version>