Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6835

Building aggregate module using -pl option

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            chkypros Kypros Chrysanthou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: