Author: stliu
Date: 2010-04-21 22:05:29 -0400 (Wed, 21 Apr 2010)
New Revision: 19272
Modified:
core/branches/Branch_3_5/parent/pom.xml
Log:
HHH-5144 Dont restrict on jdk5 in hibernate core development
Modified: core/branches/Branch_3_5/parent/pom.xml
===================================================================
--- core/branches/Branch_3_5/parent/pom.xml 2010-04-21 21:32:29 UTC (rev 19271)
+++ core/branches/Branch_3_5/parent/pom.xml 2010-04-22 02:05:29 UTC (rev 19272)
@@ -118,6 +118,28 @@
<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>
<executions>
@@ -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 -->
Show replies by date