Bertram wrote:
When using the maven plugin (see below the pom.xml snip) the plugin creates
an invalid jj-file.
[...9
All the javacc jars I found on my machine are v4.1
As listed in the "Project Dependencies" [0], the javacc-maven-plugin:2.5
uses javacc 4.1 as well. You can try downgrading to
javacc-maven-plugin:2.4.1 which uses javacc 4.0 or upgrading to javacc
4.2 by adding the snippet
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>2.5</version>
<!-- override default plugin dependency -->
<dependencies>
<dependency>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<version>4.2</version>
</dependency>
</dependencies>
...
</plugin>
to your POM.
Since the actual code generation is the responsibility of the javacc
library and not the wrapping Maven plugin, you would need to report this
issue to the javacc developer team if it persists in their latest release.
Benjamin
[0] http://mojo.codehaus.org/javacc-maven-plugin/dependencies.html
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email