[ 
https://jira.codehaus.org/browse/MRELEASE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=301960#comment-301960
 ] 

Manuel AUGUSTO commented on MRELEASE-679:
-----------------------------------------

Hello,
I had the same problem and i resolved it was fixed this line in a pom.xml of 
parent project.

<connection>scm:svn:svn://repo/trunk/parent</connection>
<developerConnection>scm:svn:svn://repo/trunk/parent</developerConnection>

and is not necessary to fixed a tag connectionUrl in configuration of 
maven-release-plugin.

It work correctly whith the last version =>2.3.2.

good day. bye
                
> 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
>            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

        

Reply via email to