blog post 5 (maven Release Plugin)

Maven Release Plugin Problems

In particular, some of the pitfalls of the maven-release-plugin in the context of git-flow are:
• MRP writes .backup and release.properties files to your working tree which are easily committed when they shouldn’t be
• MRP does a build in the prepare goal and a build in the perform goal causing tests to run 2 times
• MRP and git-flow both create tags leaving you with two tags if you forget to delete one of them
• If something goes wrong, MRP usually leaves you in a bad state and rollback doesn’t work most of the time