Rollback a release

To rollback a release, the following requirements should be met:

  • You haven't ran release:clean on the project so that the backup files and the release descriptor of the previous still exists.

    When a release is rolled back, the following are executed:

  • All project POMs are reverted back to their pre-release state locally and also in the SCM if the previous release command was able to successfully make changes in the SCM to the POMs using a backup created during release:prepare.
  • The created branch/tag in SCM for the release is removed. not yet implemented

    To execute this step, run:

    mvn release:rollback

    Note: If an error occurs, or the process is cancelled, then running this command again will pick up from where the last one left off.