[
https://issues.apache.org/jira/browse/SCM-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964876#comment-17964876
]
Olivier Lamy commented on SCM-726:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#934|https://github.com/apache/maven-scm/issues/934].
> AbstractCvsScmProvider.parseScmUrl for ext transport should expect 4 or 5
> tokens
> --------------------------------------------------------------------------------
>
> Key: SCM-726
> URL: https://issues.apache.org/jira/browse/SCM-726
> Project: Maven SCM (Moved to GitHub Issues)
> 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 was sent by Atlassian Jira
(v8.20.10#820010)