Author: aheritier
Date: 2009-08-25 17:31:54 -0400 (Tue, 25 Aug 2009)
New Revision: 66
Modified:
components/mop/trunk/parent/pom.xml
Log:
Always check Maven version (2.2.1 is required)
Modified: components/mop/trunk/parent/pom.xml
===================================================================
--- components/mop/trunk/parent/pom.xml 2009-08-25 21:25:27 UTC (rev 65)
+++ components/mop/trunk/parent/pom.xml 2009-08-25 21:31:54 UTC (rev 66)
@@ -213,6 +213,20 @@
</rules>
</configuration>
</execution>
+ <execution>
+ <id>enforce-maven-version</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <message>To build this project Maven 2.2.1 is required.
Please install it.</message>
+ <version>2.2.1</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>
@@ -304,26 +318,6 @@
</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>
- <message>We are using some Maven 2.1+ features and
only 2.2+ has the required stability. 2.2.1 is recommanded.</message>
- <version>2.2.0</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.jvnet</groupId>
<artifactId>animal-sniffer</artifactId>
<version>1.2</version>