Home » Java » java – Unable to commit files. Maven-Exceptionshub

java – Unable to commit files. Maven-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment


I’ve problem with release:prepare in Maven. When I enter “mvn release:prepare” I get error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project com.joledzki.petclinic2: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-commit command failed.
[ERROR] Command output:
[ERROR] -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


    <developerConnection>scm:git:[email protected]:JakubOledzki/petclinic2.git</developerConnection>

Build work correct. Someone has a solution ?

How to&Answers: