[ http://jira.codehaus.org/browse/MRELEASE-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265836#action_265836 ]
Claus Gebert commented on MRELEASE-526: --------------------------------------- I have to agree with James Bowkett. We did not have this problem with Maven 2.2.1, which comes with the v2.0-beta-8 of the release plugin. Switching to Maven 3.0.3 (i.e. to v2.0 of the plugin) leads to this problem. As far as I can tell this is clearly not a duplicate to MRELEASE-546. Can this issue be changed to another status than closed? Or should I create a new issue? And what about the fix proposed by James Blewitt? > release:prepare 2.0 goal tags at the wrong level, tagging project/ instead of > project/trunk > ------------------------------------------------------------------------------------------- > > Key: MRELEASE-526 > URL: http://jira.codehaus.org/browse/MRELEASE-526 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: prepare > Affects Versions: 2.0 > Environment: Maven 2.2.1 > Reporter: Damien Coraboeuf > Assignee: Brett Porter > Priority: Critical > Attachments: export.zip > > > We have switched to the release plug-in 2.0 and are using the prepare goal as > we did before using version 2.0-beta-9. Unfortunately, the tag which is now > created is copied from the project level, and from the trunk. With version > 2.0-beta-9, the tag was correctly copied from the trunk. > With 2.0-beta-9: > {noformat} > /project > |-- trunk/ > |-- pom.xml > |-- src/ > |-- tags/ > |-- 4.0.1/ (<-- copied from trunk > |-- pom.xml > |-- src/ > {noformat} > With 2.0: > {noformat} > /project > |-- trunk/ > |-- pom.xml > |-- src/ > |-- tags/ > |-- 4.0.1/ (<-- copied from trunk > |-- trunk/ > |-- pom.xml > |-- src/ > |-- tags/ > |-- branches/ > {noformat} > Our _pom.xml_ SCM information is declared as follow: > {noformat} > <scm> > > <developerConnection>scm:svn:svn://host/path/project/trunk</developerConnection> > </scm> > {noformat} -- 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