I\'m trying to release a Jenkins plugin (stashNotifier) with Maven and face a problem with the release plugin.
mvn clean release:prepare
r
I solved the issue on my side (running maven 3.0.5) by updating the git scm provider dependency, not the release plugin version:
maven-release-plugin
2.4.2
org.apache.maven.scm
maven-scm-provider-gitexe
1.8.1
The git scm 1.8.1 version correctly makes the git commit (tested with the prepare and rollback goals).
EDIT: Different versions of maven-release-plugin and maven-scm-provider-gitexe may be required depending on your environment. See the comments for more discussion.