The Maven release plugin
Releasing a project requires a lot of repetitive tasks. The objective of the Maven release
plugin is to automate them. The release
plugin defines the following eight goals, which are executed in two stages, preparing the release and performing the release:
release:clean
: This goal cleans up after a release preparationrelease:prepare
: This goal prepares for a release in Software Configuration Management (SCM)release:prepare-with-pom
: This goal prepares for a release in SCM and generates release POMs by fully resolving the dependenciesrelease:rollback
: This goal rolls back to a previous releaserelease:perform
: This goal performs a release from SCMrelease:stage
: This goal performs a release from SCM into a staging folder/repositoryrelease:branch
: This goal creates a branch of the current project with all versions updatedrelease:update-versions
: This goal updates versions in the POM(s)
The preparation stage will complete the following tasks with the release:prepare
goal...