[
https://issues.apache.org/jira/browse/SCM-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962575#comment-17962575
]
ASF GitHub Bot commented on SCM-685:
------------------------------------
jira-importer commented on issue #898:
URL: https://github.com/apache/maven-scm/issues/898#issuecomment-2964631877
**[Robert
Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)**
commented
Fixed in [r1371922](http://svn.apache.org/viewvc?rev=1371922&view=rev)
thanks!
> 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)