[
https://issues.apache.org/jira/browse/SCM-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964951#comment-17964951
]
Olivier Lamy commented on SCM-782:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#989|https://github.com/apache/maven-scm/issues/989].
> Maven SCM Client doesn't support parameters <scmVersion> <scmVersionType>
> -------------------------------------------------------------------------
>
> Key: SCM-782
> URL: https://issues.apache.org/jira/browse/SCM-782
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-client
> Affects Versions: future
> Reporter: Thai Ha
> Priority: Minor
>
> In the Maven SCM Client code at
> http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-client/src/main/java/org/apache/maven/scm/client/cli/MavenScmCli.java
> there is a check
> if ( args.length != 3 ) {
> ...
> return;
> }
> which prevents entering parameters <scmVersion> <scmVersionType> (positions
> 4, 5)
> Please update it to
> if ( args.length < 3 ) {
> ...
> }
> to fix the issue. Thanks.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)