I have an enterprise application running in the following environment.
- Mojarra 2.2.7
- PrimeFaces 5.0 final
- PrimeFaces Extension 2.0 final
- OmniFaces 1.8.1
- EclipseLink 2.5.2 having JPA 2.1
- GlashFish 4.0
- NetBeans IDE 8.0
- JDK 1.7
I have changed the source levels to 1.7 from 1.6 in the project.properties
file under nbproject
in all three modules (Java EE module, EJB module and WAR module) to have support for Java EE 7. It is not a Maven project.
j2ee.platform=1.7
javac.source=1.7
javac.target=1.7
Earlier they all were 1.6.
After these changes, the following warning appears while cleaning the project.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.7'
I'm using EclipseLink metamodel generator 1.3.0 final to generate a static metamodel.
Is there a way to get rid of this warning other than downgrading the source level to 1.6? Is there any incompatibility with this warning?
Update :
This warning is no longer reproducible in EclipseLink 2.6.1 (available since Thursday, October 15, 2015) with the respective metamodel generator provided by the bundle - org.eclipse.persistence.jpa.modelgen_2.6.1.v20150916-55dc7c3.jar
.
Currently tested using EclipseLink 2.6.1 (JPA 2.1) and JDK 8u45 on GlassFish 4.1 / Java EE 7.
I assume it is fixed.