Author: jdcasey
Date: Tue Apr 21 16:24:42 2009
New Revision: 767207

URL: http://svn.apache.org/viewvc?rev=767207&view=rev
Log:
update to require java 1.5.

Modified:
    maven/components/branches/maven-2.1.x/pom.xml

Modified: maven/components/branches/maven-2.1.x/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.x/pom.xml?rev=767207&r1=767206&r2=767207&view=diff
==============================================================================
--- maven/components/branches/maven-2.1.x/pom.xml (original)
+++ maven/components/branches/maven-2.1.x/pom.xml Tue Apr 21 16:24:42 2009
@@ -133,6 +133,10 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>2.0.2</version>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+          </configuration>
         </plugin>
         <plugin>
           <artifactId>maven-assembly-plugin</artifactId>
@@ -245,6 +249,28 @@
         </plugin>
       </plugins>
     </pluginManagement>
+    <plugins>
+      <plugin>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>1.0-alpha-4</version>
+        <executions>
+          <execution>
+            <id>enforce-jdk</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <version>[1.5.0,]</version>
+                </requireJavaVersion>
+              </rules>
+              <fail>true</fail>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
 
   <modules>


Reply via email to