Hi All,

I checked out svn branch 0.9.7-r547073 revision 724510.

When I try to do "mvn package -DskipTests" I get the following exception :

C:\openJPA\0.9.7-r547073_r724510\openjpa-kernel\target\generated-source
s\javacc\org\apache\openjpa\kernel\jpql\org\apache\openjpa\kernel\jpql\JPQL.java
:[9262,24] generics are not supported in -source 1.4
(try -source 1.5 to enable generics)
  private java.util.List<int[]> jj_expentries = new
java.util.ArrayList<int[]>()
;

Looks like javacc-maven-plugin inside openjpa-kernel/pom.xml is getting the
latest javacc plugin which is using generics to generate the source code.

To resolve the issue, I had to add "<version>2.5</version>" for
javacc-maven-plugin to openjpa-kernel/pom.xml.

Should I open a JIRA and check in the above change (or) is there a better
solution for this issue ?

Regards,
Ravi.
-- 
View this message in context: 
http://n2.nabble.com/About-generated-source-in-openjpa-kernel-tp4268662p4268662.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to