HHH-5144 Dont restrict on jdk5 in hibernate core development
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19275 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
52495816de
commit
75781d3d02
|
@ -116,6 +116,28 @@
|
||||||
<groupId>org.jboss.maven.plugins</groupId>
|
<groupId>org.jboss.maven.plugins</groupId>
|
||||||
<artifactId>maven-jdocbook-style-plugin</artifactId>
|
<artifactId>maven-jdocbook-style-plugin</artifactId>
|
||||||
<extensions>true</extensions>
|
<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>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -132,7 +154,7 @@
|
||||||
<rules>
|
<rules>
|
||||||
<requireJavaVersion>
|
<requireJavaVersion>
|
||||||
<!-- require JDK 1.5 to run the build -->
|
<!-- require JDK 1.5 to run the build -->
|
||||||
<version>[1.5,1.6)</version>
|
<version>[1.5,)</version>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
<requireMavenVersion>
|
<requireMavenVersion>
|
||||||
<!-- we need at least Maven 2.0.8 because of a bug fix affecting our antlr usage -->
|
<!-- we need at least Maven 2.0.8 because of a bug fix affecting our antlr usage -->
|
||||||
|
|
Loading…
Reference in New Issue