incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1097032 - /incubator/ace/trunk/pom.xml
Date Wed, 27 Apr 2011 08:15:41 GMT
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>



Mime
View raw message