From d902a738341863dde347b780881a20dc19024534 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Tue, 10 Apr 2012 09:47:05 -0500 Subject: [PATCH] Initial Maven plugin for ANTLR 4. Just replaced v3 references with v4, so documentation not up-to-date. --- .gitignore | 3 +- antlr4-maven-plugin/pom.xml | 24 +- .../org/antlr/mojo/antlr4/Antlr4Mojo.java | 216 ++++++++++-------- .../src/site/apt/examples/import.apt | 6 +- .../src/site/apt/examples/libraries.apt | 6 +- .../src/site/apt/examples/simple.apt | 16 +- antlr4-maven-plugin/src/site/apt/index.apt | 24 +- antlr4-maven-plugin/src/site/apt/usage.apt.vm | 38 +-- antlr4-maven-plugin/src/site/site.xml | 2 +- 9 files changed, 183 insertions(+), 152 deletions(-) diff --git a/.gitignore b/.gitignore index d18dd136b..be3e7544c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /tool/target/ /runtime/Java/target/ /gunit/target/ -*.hprof \ No newline at end of file +*.hprof +/antlr4-maven-plugin/target/ \ No newline at end of file diff --git a/antlr4-maven-plugin/pom.xml b/antlr4-maven-plugin/pom.xml index 9b7edc168..16bcf122b 100644 --- a/antlr4-maven-plugin/pom.xml +++ b/antlr4-maven-plugin/pom.xml @@ -51,8 +51,8 @@