[MPOM-164] Removed prerequisites from pom use maven-enforcer instead
git-svn-id: https://svn.apache.org/repos/asf/maven/pom/trunk@1790440 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/asf/pom.xml b/asf/pom.xml
index 119d57c..43380a6 100644
--- a/asf/pom.xml
+++ b/asf/pom.xml
@@ -59,10 +59,6 @@
</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>
@@ -301,6 +297,25 @@
</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>
<artifactId>maven-site-plugin</artifactId>
<executions>
<execution>