Yves Langisch created MRELEASE-795:
--------------------------------------

             Summary: Wrong level when using release:branch 
                 Key: MRELEASE-795
                 URL: https://jira.codehaus.org/browse/MRELEASE-795
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: branch
    Affects Versions: 2.3.2
            Reporter: Yves Langisch
         Attachments: Align_baseUrl_.patch

My project has different modules that reference a parent which is in its own 
folder. SCM part is as follows:


    <scm>
        <connection>scm:svn:http://blabla.com/trunk/parent</connection>
        
<developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
        <url>http://blabla.com/trunk/parent</url>
    </scm>

When using the release:branch goal I then only see the parent folder in my 
SVN-branch instead of all modules one level higher. Releasing works fine though.

I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the 
baseDir is not aligned in the case of ScmBranchPhase. After patching the class 
the branch goal worked as expected. Patch attached.

--
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