Joseph Walton created MRELEASE-729:
--------------------------------------
Summary: release:branch makes pom changes for branch in 'master'
before branching
Key: MRELEASE-729
URL: https://jira.codehaus.org/browse/MRELEASE-729
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: Git
Affects Versions: 2.2.2
Reporter: Joseph Walton
{{release:branch}} makes the change for the branch version before branching.
This means the version change is seen in the trunk's history.
If master is currently '1-SNAPSHOT':
{code}
* 1-SNAPSHOT [master]
{code}
and I create a new 'branch-with-hacks' branch as '1.hacks-SNAPSHOT' then I'll
see this in my log:
{code}
* 1-SNAPSHOT [master]
|
* 1.hacks-SNAPSHOT [branch-with-hacks]
|
* 1-SNAPSHOT
{code}
with a commit and a revert on master where I would expect:
{code}
* 1.hacks-SNAPSHOT [branch-with-hacks]
|
* 1-SNAPSHOT [master]
{code}
with 'master' remaining unaffected.
--
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