[
http://jira.codehaus.org/browse/MRELEASE-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Gier closed MRELEASE-397.
------------------------------
Assignee: Paul Gier
Resolution: Duplicate
Closing because this is a duplicate of MRELEASE-165
> release:prepare goal does not check early enough whether the specified tag
> already exists in SVN
> ------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-397
> URL: http://jira.codehaus.org/browse/MRELEASE-397
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-8
> Environment: multi-module build
> Reporter: Ian Springer
> Assignee: Paul Gier
>
> I ran:
> mvn release:prepare -Dresume=false -X -e "-DpreparationGoals=clean install
> -Dmaven.test.skip=true" -Dtag=MyTag
> not realizing a tag named MyTag already existed in SVN.
> The release plugin eventually failed with a MyTag already exists error, but
> not until after it had already updated all poms in the reactor to the release
> version and committed them to SVN. But it did not roll back the SVN commit it
> had done before aborting, so I had to roll it back manually.
> The release plugin should check whether the tag already exists right in the
> beginning (before anything has been committed to SVN) and abort if it does.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira