You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2017/04/06 19:18:38 UTC

svn commit: r1790440 - /maven/pom/trunk/asf/pom.xml

Author: khmarbaise
Date: Thu Apr  6 19:18:38 2017
New Revision: 1790440

URL: http://svn.apache.org/viewvc?rev=1790440&view=rev
Log:
[MPOM-164] Removed prerequisites from pom use maven-enforcer instead

Modified:
    maven/pom/trunk/asf/pom.xml

Modified: maven/pom/trunk/asf/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?rev=1790440&r1=1790439&r2=1790440&view=diff
==============================================================================
--- maven/pom/trunk/asf/pom.xml (original)
+++ maven/pom/trunk/asf/pom.xml Thu Apr  6 19:18:38 2017
@@ -59,10 +59,6 @@ under the License.
     </mailingList>
   </mailingLists>
 
-  <prerequisites><!-- just for information: not inherited in child poms -->
-    <maven>3.0</maven><!-- prerequisite of some plugins -->
-  </prerequisites>
-
   <scm>
     <connection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/trunk/asf</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/trunk/asf</developerConnection>
@@ -298,6 +294,25 @@ under the License.
             </configuration>
           </execution>
         </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-maven-version</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <version>3.0</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>