You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Przemyslaw Fusik (JIRA)" <ji...@codehaus.org> on 2013/07/12 11:00:05 UTC

[jira] (SCM-726) AbstractCvsScmProvider.parseScmUrl for ext transport should expect 4 or 5 tokens

Przemyslaw Fusik created SCM-726:
------------------------------------

             Summary: AbstractCvsScmProvider.parseScmUrl for ext transport should expect 4 or 5 tokens
                 Key: SCM-726
                 URL: https://jira.codehaus.org/browse/SCM-726
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-cvs
    Affects Versions: 1.8.1
            Reporter: Przemyslaw Fusik
            Priority: Minor


According to http://maven.apache.org/scm/cvs.html ext transport url may contain 4 or 5 (including port) tokens (excluding the first two tokens 'scm' and 'cvs' that are consumed before){noformat}scm:cvs<delimiter>ext<delimiter>[username@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name{noformat} but the code inside AbstractCvsScmProvider.parseScmUrl {code:java}if ( tokens.length != 4 && transport.equalsIgnoreCase( TRANSPORT_EXT ) )
            {
                result.getMessages().add( "The connection string contains too few tokens." );

                return result;
            }{code} requires 4 tokens and adds misleading message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira