[
https://jira.codehaus.org/browse/MRELEASE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=291884#comment-291884
]
Frans edited comment on MRELEASE-679 at 2/16/12 4:55 AM:
---------------------------------------------------------
When I use maven-release-plugin:2.1, the behavior changes:
|connectionUrl=scm:svn:https://svn/repository/project/|Tag is created at
https://svn/repository/project/tags but contains trunk, tags, branches
|connectionUrl=scm:svn:https://svn/repository/project/trunk/|Tag is created at
https://svn/repository/project/tags and contains just the contents of trunk.
*This works!*
was (Author: fransflippo):
When I use maven-release-plugin:2.1, the behavior changes:
|connectionUrl=scm:svn:https://svn.neteffect.nl/repository/project/|Tag is
created at https://svn.neteffect.nl/repository/project/tags but contains trunk,
tags, branches
|connectionUrl=scm:svn:https://svn.neteffect.nl/repository/project/trunk/|Tag
is created at https://svn.neteffect.nl/repository/project/tags and contains
just the contents of trunk. *This works!*
> CLONE -release:prepare 2.0 goal tags at the wrong level, tagging project/
> instead of project/trunk
> --------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-679
> URL: https://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, 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