[ https://issues.apache.org/jira/browse/SCM-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960967#comment-17960967 ]
ASF GitHub Bot commented on SCM-306: ------------------------------------ jira-importer opened a new issue, #523: URL: https://github.com/apache/maven-scm/issues/523 **[Alain Coetmeur](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alain.coetmeur)** opened **[SCM-306](https://issues.apache.org/jira/browse/SCM-306?redirect=false)** and commented Using latest evolution of CVS provider, that create the .cvspass on Windows, NOT needing CVSNT summary : when using a SCM URL targeting a CVS server with a non standard port, the CVS root inside .cvspass is badly generated, with the 2401 numbers preceding the indicated port number, preventing this .cvspass line to be used later for authentication. detail: when I set a password and a username for a SCM operation on CVS with a CVS root including a non standard port like this: scm url: <scm> <developerConnection> scm:cvs|pserver|@s.serv.cdc.fr|12021/s/cvsdata/XX|project </developerConnection> </scm> it create a line in .cvspass like this /1 :pserver:u...@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e and then fails with "bad password" If I edit manually the line, removing the "2401" spurious numbers this way /1 :pserver:u...@s.serv.cdc.fr:12021/s/cvsdata/XX A:yZZ30 e it works, even if it add again the /1 :pserver:u...@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e line, after the previous... thanks in advance... --- **Affects:** 1.0 > Bad URL in .cvspass if using non standard port number for CVS server > -------------------------------------------------------------------- > > Key: SCM-306 > URL: https://issues.apache.org/jira/browse/SCM-306 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Bug > Components: maven-scm-provider-cvs > Affects Versions: 1.0 > Environment: Windows, > Reporter: Alain Coetmeur > Assignee: Emmanuel Venisse > Priority: Major > > Using latest evolution of CVS provider, that create the .cvspass on Windows, > NOT needing CVSNT > summary : > when using a SCM URL targeting a CVS server with a non standard port, the CVS > root inside .cvspass is badly generated, with the 2401 numbers preceding the > indicated port number, preventing this .cvspass line to be used later for > authentication. > detail: > when I set a password and a username for a SCM operation on CVS > with a CVS root including a non standard port like this: > scm url: > <scm> > <developerConnection> > > scm:cvs|pserver|@s.serv.cdc.fr|12021/s/cvsdata/XX|project > </developerConnection> > </scm> > it create a line in .cvspass like this > /1 :pserver:u...@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e > and then fails with "bad password" > If I edit manually the line, removing the "2401" spurious numbers this way > /1 :pserver:u...@s.serv.cdc.fr:12021/s/cvsdata/XX A:yZZ30 e > it works, even if it add again the > /1 :pserver:u...@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e > line, after the previous... > thanks in advance... -- This message was sent by Atlassian Jira (v8.20.10#820010)