[
https://issues.apache.org/jira/browse/SCM-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962574#comment-17962574
]
ASF GitHub Bot commented on SCM-685:
------------------------------------
jira-importer commented on issue #898:
URL: https://github.com/apache/maven-scm/issues/898#issuecomment-2964631879
**[Guillaume
Husta](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ghusta)**
commented
Thank you for having fixed it so quickly !
> 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)