[ 
https://issues.apache.org/jira/browse/MNG-7026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236706#comment-17236706
 ] 

Martin Kanters commented on MNG-7026:
-------------------------------------

I think this indeed would be relatively easy to fix, but I am not sure whether 
this is something we would like to support as it seems to be quite an exotic 
case. 

Perhaps it helps to say that you can exclude certain projects with the 
`--projects !` flag if it is only certain submodules that you want to avoid to 
build?

> Ability to only build direct dependants
> ---------------------------------------
>
>                 Key: MNG-7026
>                 URL: https://issues.apache.org/jira/browse/MNG-7026
>             Project: Maven
>          Issue Type: New Feature
>          Components: Command Line, core
>    Affects Versions: 3.6.3
>            Reporter: Chadi
>            Priority: Minor
>              Labels: easyfix, features
>
> We are an organization with a large reactor. When we update a project X, we 
> would like to have the possibility to compile the artifacts that directly 
> depend on X, without having to recompile everything.
> The fix itself is trivial and consists of traversing in non-recursive mode. I 
> can prepare a PR if you are OK with the request.
> Its activation could be done using a flag such as --amdd, 
> --also-make-direct-dependents, or maybe --also-make-dependents=direct
> What do you think?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to