Open james-q-arnold opened 10 years ago
Docs would definitely be needed; for the specific case of arguments
I found the answer at https://stackoverflow.com/questions/18243359/what-is-the-format-for-specifying-a-package-in-the-antlr4-maven-plugin:
<plugin>
...
<artifactId>antlr4-maven-plugin</artifactId>
<configuration>
<arguments>
<argument>-package</argument>
<argument>my.package.name</argument>
</arguments>
</configuration>
<executions>
...
The maven plugin has a help goal (antlr4:help -Ddetail=true), but the resulting list should give the syntax for the parameters when used in a pom.xml file. For example, the antlr4:antlr4 goal describes "arguments" as "A list of additional command line arguments to pass to the ANTLR tool." Would be handy if this description showed the syntax to use for the "list".
This would not necessarily have to be in the maven goal's output (though that would be nice), but at least the website could give details.
Information needed:
I have looked through the maven documentation, but nothing I have tried yet works. I have turned on maven debugging, but that has not yet shown enough to help.