[hibernate-commits] Hibernate SVN: r19275 - core/trunk/parent.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Apr 22 00:32:53 EDT 2010


Author: stliu
Date: 2010-04-22 00:32:52 -0400 (Thu, 22 Apr 2010)
New Revision: 19275

Modified:
   core/trunk/parent/pom.xml
Log:
HHH-5144 Dont restrict on jdk5 in hibernate core development

Modified: core/trunk/parent/pom.xml
===================================================================
--- core/trunk/parent/pom.xml	2010-04-22 04:19:45 UTC (rev 19274)
+++ core/trunk/parent/pom.xml	2010-04-22 04:32:52 UTC (rev 19275)
@@ -117,6 +117,28 @@
                 <artifactId>maven-jdocbook-style-plugin</artifactId>
                 <extensions>true</extensions>
             </plugin>
+			<plugin>
+                <groupId>org.codehaus.groovy.maven</groupId>
+                <artifactId>gmaven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>execute</goal>
+                        </goals>
+                        <configuration>
+                            <source><![CDATA[
+								def javaVersion=System.getProperty("java.version")
+								if(!javaVersion.startsWith("1.5")){
+								    fail("Please using JDK5 to do Hibernate release!")
+								}
+                                ]]>
+                            </source>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-enforcer-plugin</artifactId>
@@ -132,7 +154,7 @@
                     <rules>
                         <requireJavaVersion>
                             <!-- require JDK 1.5 to run the build -->
-                            <version>[1.5,1.6)</version>
+                            <version>[1.5,)</version>
                         </requireJavaVersion>
                         <requireMavenVersion>
                             <!-- we need at least Maven 2.0.8 because of a bug fix affecting our antlr usage -->



More information about the hibernate-commits mailing list