You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thomas Mortagne (Jira)" <ji...@apache.org> on 2024/03/19 13:07:00 UTC

[jira] [Updated] (MRELEASE-1138) Regression: @{releaseLabel} variable is not resolved in the commit message of the branch goal

     [ https://issues.apache.org/jira/browse/MRELEASE-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mortagne updated MRELEASE-1138:
--------------------------------------
    Summary: Regression: @{releaseLabel} variable is not resolved in the commit message of the branch goal  (was: @{releaseLabel} variable is not resolved in the commit message of the branch goal)

> Regression: @{releaseLabel} variable is not resolved in the commit message of the branch goal
> ---------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-1138
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1138
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 3.0.1
>            Reporter: Thomas Mortagne
>            Priority: Major
>
> 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:
> {code}
>     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
> {code}
> 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
> {code}
>   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
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)