Skip to content

[MNG-5597] Provide documentation for the behaviour of the reactor as a result of recent changes #6713

Open

Description

@jira-importer

Jason van Zyl opened MNG-5597 and commented

Specifically how it relates to MNG-5557, MNG-5582, and MNG-5578


Affects: 3.2.1

Attachments:

Activity

  1. jira-importer commented on Mar 10, 2014

    @jira-importer
    Author

    Norbert Lindenberg commented

    Attaching sample project to present limitation when -pl, -am, -amd options are not enough to fully and automatically rebuild entire submodule in multi-module project - (b), (c), (d). There is no other way to fully rebuild module-a (including downstream dependency to module-b outside of module-a's subtree) other than option (e) which requires explicit projects list specification. This behavior is consistent with documentation (-am, -amd options invoked separately) but not well documented and therefore may be misleading in complex projects.

    (a) mvn clean install


    Reactor Summary:
    top-level-parent .................................. SUCCESS [ 0.453 s]
    module-b .......................................... SUCCESS [ 1.258 s]
    module-a-parent ................................... SUCCESS [ 0.011 s]
    module-a1 ......................................... SUCCESS [ 0.072 s]
    module-a2 ......................................... SUCCESS [ 0.068 s]
    module-c .......................................... SUCCESS [ 0.086 s]


    BUILD SUCCESS


    (b) mvn -pl module-a clean install


    BUILD SUCCESS


    (c) mvn -pl module-a -am clean install


    Reactor Summary:
    top-level-parent .................................. SUCCESS [ 0.503 s]
    module-a-parent ................................... SUCCESS [ 0.010 s]


    BUILD SUCCESS


    (d) mvn -pl module-a -am -amd clean install // module-b is ignored


    Reactor Summary:
    top-level-parent .................................. SUCCESS [ 0.455 s]
    module-a-parent ................................... SUCCESS [ 0.010 s]
    module-a1 ......................................... SUCCESS [ 1.275 s]
    module-a2 ......................................... SUCCESS [ 0.069 s]


    BUILD SUCCESS


    (e) mvn -pl module-a/module-a1,module-a/module-a2 -am clean install


    Reactor Summary:
    top-level-parent .................................. SUCCESS [ 0.453 s]
    module-b .......................................... SUCCESS [ 1.187 s]
    module-a-parent ................................... SUCCESS [ 0.018 s]
    module-a1 ......................................... SUCCESS [ 0.075 s]
    module-a2 ......................................... SUCCESS [ 0.072 s]


    BUILD SUCCESS


  2. added
    enhancement
    priority:major
    on Jul 6, 2025
  3. modified the milestones: , 4.x on Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:major

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions