Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.3
-
None
-
None
Description
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>"