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

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

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

   **[Guillaume 
Husta](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ghusta)** 
opened 
**[SCM-685](https://issues.apache.org/jira/browse/SCM-685?redirect=false)** and 
commented
   
   When using **scm:diff** with the parameters 'startScmVersion' and 
'endScmVersion', both parameters get the value of 'startScmVersion'.
   
   The **'endScmVersion' attribute** of the mojo seems to be erroneously 
assigned to the 'startScmVersion' parameter.
   
   Extract of the DiffMojo code :
   
   ```
   ...
   /**
    * The version (revision number/branch name/tag name).
    *
    * @parameter expression="${startScmVersion}"
    */
   private String endScmVersion;
   ...
   ```
   
   
   
   ---
   
   **Affects:** 1.7
   




> scm:diff doesn't work when using the 'endScmVersion' parameter
> --------------------------------------------------------------
>
>                 Key: SCM-685
>                 URL: https://issues.apache.org/jira/browse/SCM-685
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.7
>            Reporter: Guillaume Husta
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 1.8
>
>
> When using *scm:diff* with the parameters 'startScmVersion' and 
> 'endScmVersion', both parameters get the value of 'startScmVersion'.
> The *'endScmVersion' attribute* of the mojo seems to be erroneously assigned 
> to the 'startScmVersion' parameter.
> Extract of the DiffMojo code :
> {code:title=DiffMojo.java}
> ...
> /**
>  * The version (revision number/branch name/tag name).
>  *
>  * @parameter expression="${startScmVersion}"
>  */
> private String endScmVersion;
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to