In fairness, rollback
should reset the project and SCM to a state that allows a second prepare
to occur. This includes removing the tag. The answer is now apparent (Googling "maven release rollback remove tag"):
http://maven.apache.org/maven-release/maven-release-plugin/examples/rollback-release.html:
The created branch/tag in SCM for the release is removed. Note: This is not yet implemented so you will need to manually remove the branch/tag from your SCM. For more info see MRELEASE-229.
The resolution would then be to force release:rollback
to include a command to delete the SCM tag using something like org.codehaus.mojo:exec-maven-plugin
. Short of this, wrap rollback
inside a script that does that externally.