Remove the message format option (eventually it should just use one that works with Maven)

This commit is contained in:
Sam Harwell 2012-12-01 14:44:46 -06:00
parent 3664f18ff4
commit 7b321f80cb
1 changed files with 0 additions and 11 deletions

View File

@ -84,13 +84,6 @@ public class Antlr4Mojo extends AbstractMojo {
*/ */
@Parameter(defaultValue = "false") @Parameter(defaultValue = "false")
protected boolean atn; 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; protected boolean verbose_dfa;
@ -286,10 +279,6 @@ public class Antlr4Mojo extends AbstractMojo {
if (verbose_dfa) { if (verbose_dfa) {
args.add("-Xverbose-dfa"); args.add("-Xverbose-dfa");
} }
if (messageFormat != null && !"".equals(messageFormat)) {
args.add("-message-format");
args.add(messageFormat);
}
if (force_atn) { if (force_atn) {
args.add("-Xforce-atn"); args.add("-Xforce-atn");
} }