maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemyslaw Fusik (JIRA)" <j...@codehaus.org>
Subject [jira] (SCM-726) AbstractCvsScmProvider.parseScmUrl for ext transport should expect 4 or 5 tokens
Date Fri, 12 Jul 2013 09:00:05 GMT
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

Mime
View raw message