You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by jb...@apache.org on 2011/04/27 10:15:41 UTC
svn commit: r1097032 - /incubator/ace/trunk/pom.xml
Author: jbonofre
Date: Wed Apr 27 08:15:41 2011
New Revision: 1097032
URL: http://svn.apache.org/viewvc?rev=1097032&view=rev
Log:
[ACE-127] Use enforcer plugin to prevent usage of unsupported version of maven and JDK.
Modified:
incubator/ace/trunk/pom.xml
Modified: incubator/ace/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/pom.xml?rev=1097032&r1=1097031&r2=1097032&view=diff
==============================================================================
--- incubator/ace/trunk/pom.xml (original)
+++ incubator/ace/trunk/pom.xml Wed Apr 27 08:15:41 2011
@@ -129,6 +129,34 @@
-->
</modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>enfore-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>2.0.11</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>1.5</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<profiles>
<profile>
<id>gateway</id>