[
https://jira.codehaus.org/browse/MNG-5599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Mosher updated MNG-5599:
------------------------------------
Attachment: MNG-5599.patch
Patch to fix
> Using -am and -amd does not include all necessary dependencies
> --------------------------------------------------------------
>
> Key: MNG-5599
> URL: https://jira.codehaus.org/browse/MNG-5599
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.2.1
> Reporter: Christopher Mosher
> Attachments: MNG-5599.patch, mvn_amd_bug.tar.gz
>
>
> If I have a module APP1 that depends on two other modules LIB1 and LIB2, all
> in multi-mode project, and I try to rebuild LIB1 with -am and -amd, then when
> maven tries to build APP1 (due to -amd), it cannot find LIB2, and the build
> fails with "The POM for LIB2 is missing". See attached project for use case
> (test.sh).
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)