diff --git a/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java b/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java index 99f999004be..1fa98e15bb8 100644 --- a/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java +++ b/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java @@ -45,7 +45,7 @@ * * @since 9.0 */ -@Mojo(name = "clean-frontend", defaultPhase = LifecyclePhase.CLEAN) +@Mojo(name = "clean-frontend", defaultPhase = LifecyclePhase.PRE_CLEAN) public class CleanFrontendMojo extends FlowModeAbstractMojo { public static final String VAADIN = "vaadin"; diff --git a/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java b/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java index 36a90f9f8aa..693d5ad4cf1 100644 --- a/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java +++ b/flow-plugins/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java @@ -23,6 +23,6 @@ * * @since */ -@Mojo(name = "dance", defaultPhase = LifecyclePhase.CLEAN) +@Mojo(name = "dance", defaultPhase = LifecyclePhase.PRE_CLEAN) public class FrontendDanceMojo extends CleanFrontendMojo { }