diff --git a/antlr/plugin.jelly b/antlr/plugin.jelly index c2c7543e..18faab8c 100644 --- a/antlr/plugin.jelly +++ b/antlr/plugin.jelly @@ -11,7 +11,7 @@ - + @@ -21,7 +21,7 @@ + location="${maven.antlr.target.dir}"/> @@ -30,7 +30,7 @@ ${maven.antlr.grammars} - + ${grammar} diff --git a/antlr/plugin.properties b/antlr/plugin.properties index 2dfceb3b..2608e6ef 100644 --- a/antlr/plugin.properties +++ b/antlr/plugin.properties @@ -1 +1,2 @@ maven.antlr.src.dir=MAVEN_ANTLR_SRC_DIR_NOT_SET +maven.antlr.target.dir=${maven.build.dir}/antlr diff --git a/antlr/xdocs/changes.xml b/antlr/xdocs/changes.xml index bd5e801d..90f19e53 100644 --- a/antlr/xdocs/changes.xml +++ b/antlr/xdocs/changes.xml @@ -19,6 +19,9 @@ Added documentation for navigation, changes, properties and goals + + Can now use maven.antlr.target.dir to set where generated files are placed. Defaults to ${maven.build.dir}/antlr + diff --git a/antlr/xdocs/properties.xml b/antlr/xdocs/properties.xml index e5687617..8c1dc516 100644 --- a/antlr/xdocs/properties.xml +++ b/antlr/xdocs/properties.xml @@ -26,7 +26,13 @@ No Must be set to allow antlr processing to happen. - FIXME: It appears this property isn't used? + + + + maven.antlr.target.dir + Yes - defaults to ${maven.build.dir}/antlr + + Defines where antlr will process .g files to.