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

ASF GitHub Bot commented on SCM-782:
------------------------------------

jira-importer opened a new issue, #989:
URL: https://github.com/apache/maven-scm/issues/989

   **[Thai 
Ha](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hathanht...@yahoo.com)**
 opened 
**[SCM-782](https://issues.apache.org/jira/browse/SCM-782?redirect=false)** and 
commented
   
   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.
   
   
   ---
   
   **Affects:** future
   
   1 votes, 1 watchers
   




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

Reply via email to