Skip to content

Commit

Permalink
fix: Move the clean-frontend phase to be before clean
Browse files Browse the repository at this point in the history
Move clean-frontend to pre-clean as if
mvn clean is executed before clean-frontend
clean will remove the target folder making
removal of node_modules fail on windows
if there is a symlink to target/flow-frontend

touches #13760
  • Loading branch information
caalador committed May 13, 2022
1 parent 3512997 commit a24e0a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
*
* @since
*/
@Mojo(name = "dance", defaultPhase = LifecyclePhase.CLEAN)
@Mojo(name = "dance", defaultPhase = LifecyclePhase.PRE_CLEAN)
public class FrontendDanceMojo extends CleanFrontendMojo {
}

0 comments on commit a24e0a8

Please sign in to comment.