[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-5110) Detected JDK Version: 1.6.0-15 is not in the allowed range [1.5, 1.6).

Steve Ebersole (JIRA) noreply at atlassian.com
Thu Apr 15 16:24:58 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-5110.
-------------------------------

    Resolution: Rejected

Really we ought to move the tutorial out of the main source tree.  That's the only way to alleviate this.  This setting is indicating the allowable range of JDKs allowed for running the Maven process itself.  As the tutorial is currently part of the this build it "needs" this restriction

> Detected JDK Version: 1.6.0-15 is not in the allowed range [1.5,1.6).
> ---------------------------------------------------------------------
>
>                 Key: HHH-5110
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5110
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.5.0-Final
>         Environment: Linux version 2.6.31-20-generic, Ubuntu 4.4.1-4ubuntu8
>            Reporter: Michal Petrus
>            Priority: Trivial
>
> The problem's appeared during hibernate-distribution-3.5.0-Final/project/tutorials/web compilation.
> I am using:
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> 1. unpack hibernate-distribution-3.5.0-Final-dist.tar.gz
> 2. go to ....hibernate-distribution-3.5.0-Final/project/tutorials/web
> 3. run  mvn install
> I got following error message:
> Rule 0: org.apache.maven.plugin.enforcer.RequireJavaVersion failed with message: Detected JDK Version: 1.6.0-15 is not in the allowed range [1.5,1.6).
> It is strange 'cause I am using right java version.
> The only place checking java version is in ...hibernate-distribution-3.5.0-Final/project/parent/pom.xml
> When I changed line 135 
> <version>[1.5,1.6)</version> to <version>[1.5,)</version>
> it started working.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list