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

Knut Wannheden commented on MNG-6981:
-------------------------------------

I could try the -amd flag together with -pl. My worry is just that it will end 
up including way too many projects in other "branches" of my reactor tree.

Sometimes I have been thinking if the -pl option should instead allow an 
expression language for more advanced use cases. Much like the '!' it already 
allows, but to express all the different axes. So e.g. {{-pl 
'a,rec(b),am(c),amd(rec(d))'}}. This example is of course exaggerated, but I 
hope it conveys the idea.

> Add --recursive option
> ----------------------
>
>                 Key: MNG-6981
>                 URL: https://issues.apache.org/jira/browse/MNG-6981
>             Project: Maven
>          Issue Type: New Feature
>          Components: Command Line
>    Affects Versions: 3.6.3
>            Reporter: Knut Wannheden
>            Priority: Major
>
> Since there is already a {{\--non-recursive}} option a new {{\--recursive}} 
> option might be confusing, but let me explain my use case. I often use the 
> {{-pl}} option and in a multi-module Maven project with more than just two 
> "levels", I would like to be able to build a project (or set of projects) 
> including all child-modules. This is, AFAIK, currently not possible and what 
> I would like to use the new {{\--recursive}} (or similar) option for.



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

Reply via email to