Yes it might be the better solution to keep it backwards compatible and do 
recursive -plr X / -plr !X as a new option.

-----Ursprüngliche Nachricht-----
Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] 
Gesendet: Samstag, 20. Februar 2021 09:20
An: Maven Developers List
Betreff: Re: Maven 4: -pl !... is not recursive

Agree it should be alignde, just wonder how you handle '-N' equivalent if
-pl is recursive (so until there is a solution I'm tempting to think not
being recursive can be saner + at least it is backward compatible to v3
which is also important). If we want a recursive -pl we should probably add
a -plr or so IMHO.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le sam. 20 févr. 2021 à 09:14, Markus KARG <mar...@headcrashing.eu> a
écrit :

> I second that. It is counterintuitive. It would be beneficial if -pl !X
> would also exclude ist submodules.
> -Markus
>
>
> -----Ursprüngliche Nachricht-----
> Von: Falko Modler [mailto:f.mod...@gmx.net]
> Gesendet: Samstag, 20. Februar 2021 01:39
> An: dev@maven.apache.org
> Betreff: Maven 4: -pl !... is not recursive
>
> Hi everyone,
>
> I started playing around with 4.0.0-alpha-1-20210214.163053-40 and I
> realized that -pl X will now also build submodules of X but -pl !X will
> only exclude X, not its submodules.
>
> Isn't this a bit inconsistent?
>
> Cheers,
>
> Falko
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to