You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Claus Gebert (JIRA)" <ji...@codehaus.org> on 2011/05/05 23:07:22 UTC
[jira] Commented: (MRELEASE-679) CLONE -release:prepare 2.0 goal
tags at the wrong level, tagging project/ instead of project/trunk
[ http://jira.codehaus.org/browse/MRELEASE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265851#action_265851 ]
Claus Gebert commented on MRELEASE-679:
---------------------------------------
Original issue was MRELEASE-526. There a fix was proposed by James Blewitt, but the issue was closed because it was believed to be a duplicate of MRELEASE-546. However we still see this issue with Maven 3.0.3 (i.e. plugin version v2.0), and it was further reported to exist with plugin version 2.1 as well.
> CLONE -release:prepare 2.0 goal tags at the wrong level, tagging project/ instead of project/trunk
> --------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-679
> URL: http://jira.codehaus.org/browse/MRELEASE-679
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0
> Environment: Maven 2.2.1
> Reporter: Claus Gebert
> Assignee: Brett Porter
> Priority: Critical
>
> 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