For a particular task regarding parsing java 6 grammars - my maven
configuration
of using antlr looks like this:
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
<version>3.1.3-1</version>
<configuration>
<goals>
<goal>antlr</goal>
</goals>
<conversionTimeout>10000</conversionTimeout>
<grammars>java.g</grammars>
</configuration>
I am getting the following error message:
Failed to execute goal
org.apache.maven.plugins:maven-antlr-plugin:2.0-beta-1:generate (default-cli)
on
project root: The parameters 'grammars' for goal
org.apache.maven.plugins:maven-antlr-plugin:2.0-beta-1:generate are missing or
invalid -> [Help 1]
The documentation under reference:
http://www.antlr.org/wiki/display/ANTLR3/Using+ANTLR+3+with+Maven+2 . Is that
up
to date with the reality ?
I am using the Java 6 grammar as in the grammars page, thanks to Yang Jiang ,
here at : http://openjdk.java.net/projects/compiler-grammar/antlrworks/Java.g
.
$ mvn --version
Apache Maven 3.0.2 (r1056850; 2011-01-09 06:28:10+0530)
Let me know what I could be missing here !
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.