You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2010/02/09 21:26:39 UTC

svn commit: r908205 - /myfaces/trinidad/branches/trinidad-2.0.x/pom.xml

Author: matzew
Date: Tue Feb  9 20:26:38 2010
New Revision: 908205

URL: http://svn.apache.org/viewvc?rev=908205&view=rev
Log:
added enforcer for Trinidad2

Modified:
    myfaces/trinidad/branches/trinidad-2.0.x/pom.xml

Modified: myfaces/trinidad/branches/trinidad-2.0.x/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/pom.xml?rev=908205&r1=908204&r2=908205&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-2.0.x/pom.xml (original)
+++ myfaces/trinidad/branches/trinidad-2.0.x/pom.xml Tue Feb  9 20:26:38 2010
@@ -521,6 +521,26 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-versions</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <message>Apache MyFaces Trinidad 2 needs to be compiled with Java 6</message>
+                  <version>1.6</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
         <configuration>
           <preparationGoals>clean verify install</preparationGoals>