You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emilio Jose Mena Cebrian (JIRA)" <ji...@codehaus.org> on 2010/11/25 16:12:03 UTC
[jira] Created: (MRELEASE-619) release:branch doesn't work as
expected with multi-module projects
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
[jira] (MRELEASE-619) release:branch doesn't work as expected with
multi-module projects
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] (MRELEASE-619) release:branch doesn't work as expected with
multi-module projects
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-619:
------------------------------------
Component/s: branch
> 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
> 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