From 8e73b7cf693ea6b55f68332dd029a64b42aad24c Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 19 Jan 2015 23:27:25 -0500 Subject: [PATCH] Use maven-enforcer-plugin to enforce Maven version This patch removes the unnecessary declaration of section. As discovered in the mailing list thread linked below the section to set a minimal Maven version is deprecated and actually does not enforce the minimal version. If we need to enforce a minimal Maven version we need to use the maven-enforcer-plugin instead. https://lists.opendaylight.org/pipermail/discuss/2015-January/004309.html Change-Id: I5e5ce1af34451b0bcda51ee10ee0c181bd85393b Signed-off-by: Thanh Ha --- distributions/karaf/pom.xml | 4 +--- distributions/pom.xml | 3 --- distributions/test/pom.xml | 4 +--- features/pom.xml | 4 +--- pom.xml | 27 ++++++++++++++++++++++++--- 5 files changed, 27 insertions(+), 15 deletions(-) diff --git a/distributions/karaf/pom.xml b/distributions/karaf/pom.xml index a598f5e6..8cb0172f 100644 --- a/distributions/karaf/pom.xml +++ b/distributions/karaf/pom.xml @@ -9,9 +9,7 @@ distribution-karaf pom - - 3.0 - + 1.1.0-SNAPSHOT 1.5.0-SNAPSHOT diff --git a/distributions/pom.xml b/distributions/pom.xml index 37c2ecca..c44303b1 100644 --- a/distributions/pom.xml +++ b/distributions/pom.xml @@ -1,9 +1,6 @@ 4.0.0 - - 3.0 - org.opendaylight.integration root diff --git a/distributions/test/pom.xml b/distributions/test/pom.xml index 73cfeadf..6f4d785b 100644 --- a/distributions/test/pom.xml +++ b/distributions/test/pom.xml @@ -9,9 +9,7 @@ distribution-test pom - - 3.0 - + 1.1.0-SNAPSHOT 1.5.0-SNAPSHOT diff --git a/features/pom.xml b/features/pom.xml index 18b2a6d4..593523f1 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -17,9 +17,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL ${project.artifactId} pom 4.0.0 - - 3.1.1 - + index test diff --git a/pom.xml b/pom.xml index 134d40c8..d1dbbb5c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,9 +1,6 @@ 4.0.0 - - 3.0 - org.opendaylight.integration root 0.3.0-SNAPSHOT @@ -41,6 +38,7 @@ 3.0.1 2.16 2.12 + 1.3.1 distributions/ @@ -262,5 +260,28 @@ + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${enforcer.version} + + + enforce-maven + + enforce + + + + + 3.1.1 + + + + + + + -- 2.36.6