You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kypros Chrysanthou (Jira)" <ji...@apache.org> on 2020/01/02 12:14:00 UTC

[jira] [Updated] (MNG-6835) Building aggregate module using -pl option

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

Kypros Chrysanthou updated MNG-6835:
------------------------------------
    Affects Version/s: 3.6.3

> Building aggregate module using -pl option
> ------------------------------------------
>
>                 Key: MNG-6835
>                 URL: https://issues.apache.org/jira/browse/MNG-6835
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.3
>            Reporter: Kypros Chrysanthou
>            Priority: Major
>
> When building an aggregate module using the -pl option, its submodules are not picked up.
> Using the -amd option, the submodules that are also child modules (i.e. they define the aggregate module as parent) are picked up.
> I would expect that -am would "also make" the submodules but it seems that they are not identified as dependencies.
> I have created a dummy project for showcasing/exploring this:
> [https://github.com/chkypros/aggregation]
>  
> Acceptance Criteria:
> - There needs to be a way to configure the build when using -pl to also build submodules.
> - It should be possible to mirror the behaviour of "mvn <goal>" using "mvn <goal> -pl . <some options>"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)