Matteo TURRA created SCM-842: -------------------------------- Summary: AuthenticationException: Wrong Password Key: SCM-842 URL: https://issues.apache.org/jira/browse/SCM-842 Project: Maven SCM Issue Type: Bug Components: maven-scm-provider-cvs Affects Versions: 1.9.5 Reporter: Matteo TURRA Priority: Blocker
Error running a _mvn scm:update_ command. Debug information {noformat} [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.9.5:update' with basic configurator --> [DEBUG] (f) basedir = /home/mturra/ws/ws_client/com.mycompany [DEBUG] (f) connectionType = connection [DEBUG] (s) connectionUrl = scm:cvs:pserver:@myCvshost:/mycvsroot:com.mycompany [DEBUG] (f) password = mypassword [DEBUG] (f) project = MavenProject: com.mycompany:myproj:17.02.02.00-SNAPSHOT @ /home/mturra/ws/com.mycompany/pom.xml [DEBUG] (f) pushChanges = true [DEBUG] (f) revisionKey = scm.revision [DEBUG] (f) runChangelog = false [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@e044b4a [DEBUG] (f) username = mturra [DEBUG] -- end configuration -- [DEBUG] cvsRoot: :pserver:mturra@myCvshost:2401/mycvsroot [DEBUG] passFile: /home/mturra/.cvspass [DEBUG] cvsroot :pserver:mturra@myCvshost:2401/mycvsroot already exist in /home/mturra/.cvspass. SKIPPED. [INFO] Executing: /bin/sh -c cd /home/mturra/ws/ws_client/com.mycompany && cvs -z3 -f -q update -d [INFO] Working directory: /home/mturra/ws/com.mycompany [ERROR] Didn't find password for CVSROOT ':pserver:myCvshost:/mycvsroot'. org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password {noformat} As you can see the configuration contains correct username and password, but the plugin try to guess the password from _~/.cvspass_ (as cvs commads do). But the cvsroot passed to cvs connection haven't username in it and the search in the file fails. -- This message was sent by Atlassian JIRA (v6.3.15#6346)