[ https://issues.apache.org/jira/browse/MRELEASE-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MRELEASE-1037: ----------------------------------- Fix Version/s: 3.0.0-M4 > Authentication failed on perform git-clone with 3.0.0-M1 > -------------------------------------------------------- > > Key: MRELEASE-1037 > URL: https://issues.apache.org/jira/browse/MRELEASE-1037 > Project: Maven Release Plugin > Issue Type: Bug > Components: Git, perform > Affects Versions: 3.0.0-M1 > Reporter: JANTON > Assignee: Robert Scholte > Priority: Major > Fix For: 3.0.0-M4, 3.0.0-M2 > > > After switching from 2.5.3 to 3.0.0-M1, release perform failed on tag "git > clone" : > {code:java} > + mvn -B -f /workspace/myproject/pom.xml -Dresume=false release:perform > -Dusername=**** -Dpassword=**** > Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; > 2019-08-27T17:06:16+02:00) > Maven home: /maven-3.6.2 > Java version: 1.8.0_92, vendor: Oracle Corporation, runtime: /jre > [...] > [INFO] --- maven-release-plugin:3.0.0-M1:perform (default-cli) @ myproject --- > [INFO] phase verify-release-configuration > [INFO] starting perform goal, composed of 3 phases: > verify-completed-prepare-phases, checkout-project-from-scm, run-perform-goals > [INFO] [perform] 1/3 verify-completed-prepare-phases > [INFO] [perform] 2/3 checkout-project-from-scm > [INFO] Checking out the project to perform the release ... > [INFO] Executing: /bin/sh -c cd /workspace/myproject/target && git clone > --depth 1 --branch release/myproject-6 > http://****:********@git.mydomain/mygroup/myproject.git checkout > [INFO] Working directory: /workspace/myproject/target > [ERROR] The git-clone command failed. > [...] > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:3.0.0-M1:perform (default-cli) > on project pf-parent: Unable to checkout from SCM > [ERROR] Provider message: > [ERROR] The git-clone command failed. > [ERROR] Command output: > [ERROR] fatal: Authentication failed for > 'http://****:********@git.mydomain/pf-java/mygroup/myproject.git/' > {code} > Prepate goal doesn't have this issue : tag is well created etc.... > Activating git debug trace show that perform goal send a wrong password to > git. It seem that perform goal retrieve the scm password from the > _scm.password_ property of _release.properties_ file but _scm.password_ > property doesn't contain the raw password but a encoded value (that doesn't > seem decoded by perform goal). > Regards -- This message was sent by Atlassian Jira (v8.3.4#803005)