Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Maven Antlr Plugin Settings

Property name Optional? Description
maven.antlr.grammars No Sets the grammars to generate code for.
maven.antlr.src.dir No Must be set to allow antlr processing to happen.
maven.antlr.target.dir Yes - defaults to ${maven.build.dir}/antlr Defines where antlr will process .g files to.

Other properties used

Property name Optional? Description
maven.build.dir Yes This is the directory that output files are generated to. The antlr generated code is placed in the antlr directory below this
maven.compile.src.set Yes The source directories maven uses to compile java code. The antlr plugin adds the directory it generates code to this path, so that generated code is compiled seamlessly