You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/12/19 07:32:45 UTC

[jira] Updated: (MRELEASE-230) release:prepare cannot update the version of a module in a multi-module build if you have both normal artifact and attached artifact in dependencies

     [ http://jira.codehaus.org/browse/MRELEASE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MRELEASE-230:
-------------------------------------

    Component/s: prepare

> release:prepare cannot update the version of a module in a multi-module build if you have both normal artifact and attached artifact in dependencies
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-230
>                 URL: http://jira.codehaus.org/browse/MRELEASE-230
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-5
>            Reporter: Chris Wewerka
>         Attachments: release-test.zip
>
>
> Following situation: 
> you have a multimodule build with 2 modules A,B, and B has two dependencies to A, one for the "normal" jar artifact and one for an attached artifact (e.g. the test-jar of A).
> The release will fail with:
> ...
> [INFO] Transforming 'O2 Release test Base Module'...
> [INFO] Checking out file: E:\prj\o2\branches\main_latest\sd_pa\tools\release-test\pom.xml
> [INFO] Transforming 'release-test-module-one'...
> [INFO] Checking out file: E:\prj\o2\branches\main_latest\sd_pa\tools\release-test\release-test-module-one\pom.xml
> [INFO] Transforming 'release-test-module-two'...
> [INFO] Updating release-test-module-one to 5.0.2
> [INFO] Updating release-test-module-one to 5.0.2
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] The version could not be updated: 5.0.2
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch

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