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 following eight goals, which are executed in two stages—preparing the release and performing the release:

  • release:clean: This cleans up after a release preparation
  • release:prepare: This prepares for a release in SCM (Software Configuration Management)
  • release:prepare-with-pom: This prepares for a release in SCM, and generates release POMs by fully resolving the dependencies
  • release:rollback: This rolls back to a previous release
  • release:perform: This performs a release from SCM
  • release:stage: This performs a release from SCM into a staging folder or repository
  • release:branch: This creates ...

Get Maven Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.