I found the problem: The problem is, that I needed to update the maven-scm-provider-gitexe
dependency, for the maven-release-plugin
(version 2.4.2), when using Git as SCM:
<build>
<plugins>
....
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.2</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
I found the solution here: mvn release:prepare not committing changes to pom.xml
You can find a working example here: https://github.com/tarator/releaseplugintest