Skip to content

Commit

Permalink
fix: Move the clean-frontend phase to be before clean (#13763) (#13764)…
Browse files Browse the repository at this point in the history
… (#13774)

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

Co-authored-by: caalador <[email protected]>
  • Loading branch information
vaadin-bot and caalador authored May 13, 2022
1 parent a0fe02a commit 94fa5fe
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 @@ -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";
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 94fa5fe

Please sign in to comment.