diff --git a/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java b/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java index 2a7ec3cae81..058c6049f57 100644 --- a/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java +++ b/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/CleanFrontendMojo.java @@ -48,7 +48,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-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java b/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java index 24b621542bf..0b9a6fc0f7a 100644 --- a/flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FrontendDanceMojo.java +++ b/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 { }