You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Antonio Petrelli (JIRA)" <ji...@codehaus.org> on 2012/06/08 11:19:21 UTC

[jira] (MRELEASE-760) updateWorkingCopyVersions=false still bumps up pom versions to next development version

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

Antonio Petrelli updated MRELEASE-760:
--------------------------------------

    Attachment: mrelease760-patch.diff

The bug is still there even with the current fix, that only works with release:branch.
The attached patch fixes the problem even with release:prepare.
                
> updateWorkingCopyVersions=false still bumps up pom versions to next development version
> ---------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-760
>                 URL: https://jira.codehaus.org/browse/MRELEASE-760
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3
>            Reporter: Joeri Leemans
>            Assignee: Robert Scholte
>             Fix For: 2.3.2
>
>         Attachments: maven-release-plugin-testcase.zip, mrelease760-patch.diff
>
>
> The flag updateWorkingCopyVersions (more specifically with value "false") is not handled correctly. 
> Attached project is a simple Maven project with version 1.0-SNAPSHOT, depending on version 2.3 of the release plugin. It is configured with dryRun=true and updateWorkingCopyVersions=false.
> When running mvn:prepare (and accepting the versions that are proposed), you'll see that pom.xml.next file contains 1.1-SNAPSHOT (the next development version) instead of 1.0 (the tagged version).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira