geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r432945 - /geronimo/sandbox/gshell/trunk/pom.xml
Date Sun, 20 Aug 2006 06:50:24 GMT
Author: jdillon
Date: Sat Aug 19 23:50:23 2006
New Revision: 432945

URL: http://svn.apache.org/viewvc?rev=432945&view=rev
Log:
Use tools-maven-plugin:require-java-version to force a 1.5 JDK to be used.

Modified:
    geronimo/sandbox/gshell/trunk/pom.xml

Modified: geronimo/sandbox/gshell/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/pom.xml?rev=432945&r1=432944&r2=432945&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/pom.xml (original)
+++ geronimo/sandbox/gshell/trunk/pom.xml Sat Aug 19 23:50:23 2006
@@ -224,7 +224,7 @@
                     <artifactId>maven-clover-plugin</artifactId>
                     <configuration>
                         <generateHtml>true</generateHtml>
-                        <jdk>1.5</jdk>
+                        <jdk>1.4</jdk>
                         <!-- Pulled as resource from clover-config plugin -->
                         <licenseLocation>org/apache/geronimo/clover.license</licenseLocation>
                     </configuration>
@@ -233,6 +233,23 @@
         </pluginManagement>
         
         <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                <artifactId>tools-maven-plugin</artifactId>
+                <version>1.0.0-SNAPSHOT</version>
+                <executions>
+                    <execution>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>require-java-version</goal>
+                        </goals>
+                        <configuration>
+                            <version>1.5+</version>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>



Mime
View raw message