[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-583) Add enforcer plugin to Search master pom to enforce JDK 6
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Tue Aug 24 06:09:43 EDT 2010
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
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