[ 
https://issues.apache.org/jira/browse/SCM-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964474#comment-17964474
 ] 

Olivier Lamy commented on SCM-306:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#523|https://github.com/apache/maven-scm/issues/523]. 

> 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)

Reply via email to