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.

Goals

Note: The goals in this plugin are only executed when the maven.antlr.src.dir property is set

GoalDescription
antlr:generate

Generates code for all grammars defined in the ${maven.antlr.grammars} property.

This goal is called before the java:compile goal so that code is generated before compilation.

antlr:prepare-filesystem

Creates the ${maven.build.dir}/antlr directory which holds antlr generated code.

This directory is added to the code to be compiled by Maven, as specified by the maven.compile.src.set property.