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 070f46a08..e8c3a1ca0 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 @@ -93,7 +93,7 @@ public class Antlr4Mojo extends AbstractMojo { /** * specify grammar file encoding; e.g., euc-jp */ - @Parameter + @Parameter(property = "project.build.sourceEncoding") protected String encoding; /**