Maven Release Plugin and Git 1.9
29 Apr 2014 , tagged: Maven, Maven Release Plugin, Git
Ran into this issue today and wasted a good hour on figuring out what happened. Seems to be an issue with Git 1.9.x. Symptoms Maven release plugin successfully completes the release:prepare goal, creates the tag, but fails to commit the changed pom.xml. Solution Git’s output format changed slightly in one of the recent versions and Maven’s SCM provider expects output in a certain way. Luckily you can force git to use the old output style: