Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1138

Regression: @{releaseLabel} variable is not resolved in the commit message of the branch goal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.1
    • None
    • branch
    • None

    Description

      We get the following commit message since the upgrade to the release plugin 3.0.1 (from 2.5.3): "[maven-release-plugin] prepare branch @

      {releaseLabel}

      " (see https://github.com/xwiki/xwiki-commons/commit/4e7eba27102a6c3c4954cf8dd7925232b8858157 for an example).

      We used the following command line in this case:

          mvn release:branch -DbranchName=stable-16.0.x -DautoVersionSubmodules -DdevelopmentVersion=16.1.0-SNAPSHOT -DpushChanges=false -Pci,integration-tests,office-tests,legacy,standalone,flavor-integration-tests,distribution,docker
      

      Before the upgrade, we used to get messages like "[maven-release-plugin] prepare branch stable-14.6.x" with the same command line (except for the versions related parameters values, of course).

      The release prepare goal message which contains the same variable according to the documentation does not seem to have the same problem as we get "[maven-release-plugin] prepare release xwiki-commons-16.0.0-rc-1" (see https://github.com/xwiki/xwiki-commons/commit/716ed16279968ea1a251cfbcb200893f9f43735c for example) with command line

        mvn --batch-mode release:prepare -DpushChanges=false -DlocalCheckout=true -DreleaseVersion=16.0.0-rc-1 -DdevelopmentVersion=16.0.0-SNAPSHOT -Dtag=xwiki-commons-16.0.0-rc-1 -DautoVersionSubmodules=true -Plegacy,integration-tests,office-tests,standalone,flavor-integration-tests,distribution,docker
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: