Use Maven Enforcer plugin to require Maven version 37/14237/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 19 Jan 2015 04:08:42 +0000 (23:08 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 22 Jan 2015 19:19:17 +0000 (14:19 -0500)
Using the <prerequisites> configuration in pom files is deprecated and
it is recommended to use the maven-enforcer-plugin to enforce these
rules instead.

See:
http://jira.codehaus.org/browse/MNG-5297
http://jira.codehaus.org/browse/MNG-4840

Change-Id: Ia0265ba264693c3ce09ebb24a6a489bad5efa60e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
common/artifacts/pom.xml
common/mockito-configuration/pom.xml
common/parent/pom.xml

index ef3f8c7a26ee9241e939c58e7bcdc8fbab2deb06..3d2643e75b906788376f91728dfec2b0071a6d90 100644 (file)
     <version>0.7.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
-    <prerequisites>
-        <maven>3.0.4</maven>
-    </prerequisites>
-
     <properties>
         <!-- Model versions -->
         <ietf.topology.version>2013.10.21.7-SNAPSHOT</ietf.topology.version>
index aa81fdde17cdc70434b2e1bfca1b24f604d4e7bb..1637e1f9cbc3ccdde018767b948a28fc700a1094 100644 (file)
         <relativePath>/../../common/parent/pom.xml</relativePath>
     </parent>
 
-
     <modelVersion>4.0.0</modelVersion>
     <artifactId>mockito-configuration</artifactId>
     <description>Default mockito configuration</description>
     <packaging>jar</packaging><!-- not needed in OSGi -->
     <name>${project.artifactId}</name>
-    <prerequisites>
-        <maven>3.0.4</maven>
-    </prerequisites>
 
     <dependencies>
         <!-- all those dependencies will be in test scope as mockito-configuration should be referenced as test scope dependency -->
index a2fa60ee4393d3a59cefdb7d630857e892abe857..da6d96751f002668ae728b04a172538eef061a14 100644 (file)
@@ -22,9 +22,6 @@
     <groupId>org.opendaylight.yangtools</groupId>
     <version>0.7.0-SNAPSHOT</version>
     <packaging>pom</packaging>
-    <prerequisites>
-        <maven>3.0.4</maven>
-    </prerequisites>
 
     <properties>
         <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>