[ https://jira.codehaus.org/browse/MRELEASE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MRELEASE-619. ----------------------------------- Resolution: Fixed Fix Version/s: 2.4 Assignee: Robert Scholte Fixed in [r1353151|http://svn.apache.org/viewvc?rev=1353151&view=rev] Thanks! > release:branch doesn't work as expected with multi-module projects > ------------------------------------------------------------------- > > Key: MRELEASE-619 > URL: https://jira.codehaus.org/browse/MRELEASE-619 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: branch > Affects Versions: 2.0, 2.1 > Reporter: Emilio Jose Mena Cebrian > Assignee: Robert Scholte > Fix For: 2.4 > > 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, 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