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 51d0c48dc..070f46a08 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 @@ -73,8 +73,8 @@ import java.util.Set; * @author Sam Harwell */ @Mojo( - name = "antlr", - defaultPhase = LifecyclePhase.PROCESS_SOURCES, + name = "antlr4", + defaultPhase = LifecyclePhase.GENERATE_SOURCES, requiresDependencyResolution = ResolutionScope.COMPILE, requiresProject = true) public class Antlr4Mojo extends AbstractMojo {