From 658486386648f186ed8ce934e0abf4d999252a67 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Wed, 27 Dec 2017 02:54:40 +0100 Subject: [PATCH] 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 --- org.eclipse.jgit.packaging/pom.xml | 20 ++++++++++++++++++++ pom.xml | 25 +++++++++++++++++++++---- 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index b68780e16..f0609bcc4 100644 --- a/org.eclipse.jgit.packaging/pom.xml +++ b/org.eclipse.jgit.packaging/pom.xml @@ -119,6 +119,26 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M1 + + + enforce-maven + + enforce + + + + + 3.5.2 + + + + + + org.eclipse.tycho tycho-maven-plugin diff --git a/pom.xml b/pom.xml index 7a474a63f..99ef96f32 100644 --- a/pom.xml +++ b/pom.xml @@ -70,10 +70,6 @@ scm:git:https://git.eclipse.org/r/jgit/jgit - - 3.3.1 - - hudson https://hudson.eclipse.org/jgit/ @@ -462,6 +458,27 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M1 + + + enforce-maven + + enforce + + + + + 3.5.2 + + + + + + + maven-compiler-plugin