I\'m having problems when I run mvn release:prepare. I have the following message:
[ERROR] Failed to execute goal org.apache.maven.plugins: maven-release-plugin:
As of version 3.3.X
, Maven renamed mvn.bat
to mvn.cmd
. This is fixed in the maven-release-plugin
version 2.5.2
: MRELEASE-902
They suggest adding the following section in case the fixed plugin version is not picked up automatically:
org.apache.maven.plugins
maven-release-plugin
2.5.1
org.apache.maven.shared
maven-invoker
2.2