Kypros Chrysanthou created MNG-6835:
---------------------------------------
Summary: 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
Reporter: Kypros Chrysanthou
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)