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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.8
    • maven-plugin
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: