You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/03/16 22:40:24 UTC

[jira] [Closed] (MNG-5599) Using -am and -amd does not include all necessary dependencies

     [ https://issues.apache.org/jira/browse/MNG-5599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MNG-5599.
-------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> Using -am and -amd does not include all necessary dependencies
> --------------------------------------------------------------
>
>                 Key: MNG-5599
>                 URL: https://issues.apache.org/jira/browse/MNG-5599
>             Project: Maven
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.2.1
>            Reporter: Christopher Mosher
>            Priority: Major
>         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
(v7.6.3#76005)