release:branch doesn't work as expected with multi-module projects
-------------------------------------------------------------------

                 Key: MRELEASE-619
                 URL: http://jira.codehaus.org/browse/MRELEASE-619
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
    Affects Versions: 2.1, 2.0
            Reporter: Emilio Jose Mena Cebrian
         Attachments: ScmBranchPhase.java.patch

The goal release:branch doesn't work as release:prepare with multi-module 
projects with flat layout (with parent project and modules at same level in URL 
path) 

While release:prepare takes into account the project layout using 
ReleaseUtil.createBasedirAlignedReleaseDescriptor, the goal release:branch 
doesn't 

The involved calss is org.apache.maven.shared.release.phase.ScmBranchPhase 
which is similar to org.apache.maven.shared.release.phase.ScmTagPhase, so I've 
assumed I can invoke ReleaseUtil.createBasedirAlignedReleaseDescriptor to 
obtain the corrected ReleaseDescriptor. 


I've corrected this behaviour in a local copy of maven-release-manager module 
and seems to work, but i have not fully tested the patch 

The patch is relative to maven-release-manager module



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

        

Reply via email to