maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Kanters (Jira)" <>
Subject [jira] [Commented] (MNG-6981) Add --recursive option
Date Wed, 09 Sep 2020 18:07:00 GMT


Martin Kanters commented on MNG-6981:

This feature seemed to be easy to implement and has limited effect on existing integration
- []
- [] 

One caveat is that --non-recursive has effect on the pom file on the MavenExecutionRequest
(meaning: the pom.xml in the working directory or a pom file specified with -f).
When --non-recursive is used, only that specific pom file is collected as project. So, the
reactor can only consist of that project. This results in that --pl cannot be combined with
--non-recursive. (-f can though, see [integration testing PR|]).

> Add --recursive option
> ----------------------
>                 Key: MNG-6981
>                 URL:
>             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

View raw message