[
http://jira.codehaus.org/browse/MRELEASE-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated MRELEASE-444:
----------------------------------
Fix Version/s: (was: Backlog)
> Prepare in multi-module project update the snaphsot version to release
> version only in one of the submodule
> -----------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-444
> URL: http://jira.codehaus.org/browse/MRELEASE-444
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-8
> Environment: Apache Maven 2.1.0 (r755702; 2009-03-19 04:10:27+0900)
> Java version: 1.6.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Jean-Paul GUIGUI
> Attachments: test-maven.zip
>
>
> In the case of a multi module project in which a submodule M2 is depending on
> the submodule M1, only the snapshot dependency of the submodule M2 (for
> instance D1) will be changed to release by the goal release:prepare. The
> snapshot dependencies of submodule M1 (D2) will not be automatically set to
> release into the pom.xml
> Before release:prepare
> Parent
> |-Module M1-SNAPSHOT
> | |-Dependency to D1-SNAPSHOT
> |-Module M2-SNAPSHOT
> |-Dependency D2-SNAPSHOT
> |-Dependency to M1-SNAPSHOT
> After release:prepare
> Parent
> |-Module M1
> | |-Dependency to D1-SNAPSHOT <== WRONG
> |-Module M2
> |-Dependency D2
> |-Dependency to M1
> In attachment a project. To reproduce the bug:
> mvn -f pom-dependency.xml clean install
> mvn clean install
> mvn release:prepare
> cat test-maven-dependency2/pom.xml
> Maybe related to bug MRELEASE 295
--
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