This patch modifies the pom.xml of openjpa-kernel.
It also expects for you to move a file:
svn mv src/main/java/org/apache/openjpa/kernel/jpql/ParseException.java src/main/jjtree/org/apache/openjpa/kernel/jpql/ParseException.java
This way the ParseException.java overrides that one which is being generated. So that javacc doesn't generate a new one (and force us to delete it later ).
Thanks for the patch!