From 06c518f3aa6c6b646203e428e7c7524fb382cb6a Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Thu, 7 Nov 2019 17:24:53 -0500 Subject: [PATCH] [releng] Enforce Maven version to 3.6.0 See Bug 551674. This commit also moves the enforcer plug-in into the correct place to be activated The enforcer plug-in needs to be done to allow the check maven versions to not report erroneous/extra information too (see next commit) Change-Id: I2da89b0a9ec0fc3dc27f0812fef53104dcaa7fd6 --- pom.xml | 58 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/pom.xml b/pom.xml index b9110af5c70..92b47d8a2af 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,11 @@ CDT Parent - 3.3.1 + + [3.6.0] 1.4.0 1.4.0 1.1.7 @@ -593,6 +597,32 @@ + + true + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M2 + + + enforce-maven-version + + enforce + + + + + ${required-maven-version} + + + 1.8 + + + true + true + + + + org.codehaus.mojo sonar-maven-plugin @@ -933,31 +963,7 @@ - - true - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-maven-version - - enforce - - - - - ${required-maven-version} - - - 1.8 - - - true - - - - +