Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-685

scm:diff doesn't work when using the 'endScmVersion' parameter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: maven-plugin
    • Labels:
      None

      Description

      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 :

      DiffMojo.java
      ...
      /**
       * The version (revision number/branch name/tag name).
       *
       * @parameter expression="${startScmVersion}"
       */
      private String endScmVersion;
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              ghusta Guillaume Husta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: