Where do I put grammar files?

By default, grammar files should be in the ${basedir}/src/main/antlr directory.

[top]

What is the process order of grammar files?

The order is based on the grammar definition. For instance, with the following configuration grammarsgrammar1.g,grammar2.g/grammars, antlr is called twice, first time with grammar1.g, second time with grammar2.g.

The order is important when grammar files use import vocabulary

[top]

Is there any support of Antlr v3?

Use the antlr3-maven-plugin.

[top]