Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Using the clean goal to trigger plugin actions.

This mini-guide supplements the Build Lifecycle introduction document.

The Introduction to the Build Lifecycle document does not list the "clean" phase because it is not called implicitly when the other phases are called. This is an intended design but no current documentation discusses the possibility of attaching a plugin to the clean phase.

Attaching a plugin to the clean phase is as simple as declaring it in the pom:

POM plugin section

Go back to home wiki

  • No labels