Jean-Pierre Froud created MRELEASE-922:
------------------------------------------

             Summary: release:branch doesn't update branch scm url
                 Key: MRELEASE-922
                 URL: https://issues.apache.org/jira/browse/MRELEASE-922
             Project: Maven Release Plugin
          Issue Type: Bug
          Components: branch, scm
    Affects Versions: 2.5.2
            Reporter: Jean-Pierre Froud


Using maven 3.3.3

Here is the scm part of my project:

{code}
<scm>
    <connection>scm:javasvn:http://url.com/repo/myProject/trunk</connection>
    
<developerConnection>scm:javasvn:http://url.com/repo/myProject/trunk</developerConnection>
    <url>http://url.com/repo/myProject/trunk</url>
</scm>
{code}

I run:

{code}
mvn release:branch -DbranchName=myBranch
{code}

It creates successfully the branch here:

{code}
http://url.com/repo/myProject/branches/myBranch
{code}

But when I look into the pom.xml of this branch, the "scm" part remains the 
same as the trunk:

{code}
<scm>
    <connection>scm:javasvn:http://url.com/repo/myProject/trunk</connection>
    
<developerConnection>scm:javasvn:http://url.com/repo/myProject/trunk</developerConnection>
    <url>http://url.com/repo/myProject/trunk</url>
</scm>
{code}

[Documentation|http://maven.apache.org/maven-release/maven-release-plugin/examples/branch.html]:

{quote}
Transform the SCM information in the POM to include the final destination of 
the tag
{quote}

So why the {{pom.xml}} of my branch isn't transformed?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to