[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-583) Add enforcer plugin to Search master pom to enforce JDK 6

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Aug 24 12:47:44 EDT 2010


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

Emmanuel Bernard updated HSEARCH-583:
-------------------------------------

    Fix Version/s:     (was: 3.3.0)
                   3.3.0.Beta1

> Add enforcer plugin to Search master pom to enforce JDK 6
> ---------------------------------------------------------
>
>                 Key: HSEARCH-583
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-583
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.3.0.Alpha1
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>             Fix For: 3.3.0.Beta1
>
>
> With the addition of the _hibernate-search-integrationtest_ module a JDK 6 must be used to compile Search. The reason is that some of the dependencies used in this module are compiled for Java 6 only. Using a JDK 5 will fail when compiling this module. Adding the enforcer plugin will ensure that the build will fail early in case you are not using a JDK 6. 
> However, we still want Java 5 compatible class files. For this reason the maven-compiler-plugin is configured to generate Java 5 compatible class files. It is up the developer to ensure not to use Java 6 specific API calls in the production code.

-- 
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