You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:03 UTC

[jira] [Updated] (MNG-7112) --projects flag should honor --non-recursive flag

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

Guillaume Nodet updated MNG-7112:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> --projects flag should honor --non-recursive flag
> -------------------------------------------------
>
>                 Key: MNG-7112
>                 URL: https://issues.apache.org/jira/browse/MNG-7112
>             Project: Maven
>          Issue Type: Improvement
>          Components: Reactor and Workspace
>    Affects Versions: 4.0.x-candidate
>            Reporter: Martin Kanters
>            Assignee: Martin Kanters
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> In MNG-6981 and MNG-7102 the behavior around selecting aggregate projects has changed.
> Now, when an aggregate is (de)selected, the aggregate project and all its children will be (de)selected in the reactor.
> Before, just the aggregate was (de)selected and children were not taken into account.
> Because there is no good workaround currently and there is a need for it, we should offer a way to bring the old behavior back.
> {{\-N}} or {{\--non-recursive}} is currently used to only select one project, and it will not take its children into account during project collection (before the reactor flags are applied).
> After discussion on the mailing list, the proposed implementation is to use {{\--non-recursive}} together with {{\--projects}} to restore the old non-recursive behavior we had before.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)