From 7b321f80cb5b07b0235e4235ffdbd2e894c31397 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sat, 1 Dec 2012 14:44:46 -0600 Subject: [PATCH] Remove the message format option (eventually it should just use one that works with Maven) --- .../main/java/org/antlr/mojo/antlr4/Antlr4Mojo.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4Mojo.java b/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4Mojo.java index bdce60296..2c2197348 100644 --- a/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4Mojo.java +++ b/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4Mojo.java @@ -84,13 +84,6 @@ public class Antlr4Mojo extends AbstractMojo { */ @Parameter(defaultValue = "false") protected boolean atn; - /** - * If this parameter is set, it indicates that any warning or error messages returned - * by ANLTR, shoould be formatted in the specified way. Currently, ANTLR suports the - * built-in formats of antlr, gnu and vs2005. - */ - @Parameter(defaultValue = "antlr") - protected String messageFormat; protected boolean verbose_dfa; @@ -286,10 +279,6 @@ public class Antlr4Mojo extends AbstractMojo { if (verbose_dfa) { args.add("-Xverbose-dfa"); } - if (messageFormat != null && !"".equals(messageFormat)) { - args.add("-message-format"); - args.add(messageFormat); - } if (force_atn) { args.add("-Xforce-atn"); }