You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/03/08 18:34:46 UTC

[GitHub] [maven] rfscholte commented on pull request #448: [MNG-7102] The child modules of excluded projects are now excluded

rfscholte commented on pull request #448:
URL: https://github.com/apache/maven/pull/448#issuecomment-792978269


   > I wonder what would happen if I have this:
   > 
   > root: mod_a, mod_b, mod_c
   > mod_c: mod_c_1, mod_c_2, mod_c_3
   > mod_c_2: mod_c_2_1, mod_c_2_2, mod_c_2_3
   > mod_c_2_2: mod_c_2_2_1, mod_c_2_2_2
   > 
   > `mvn -pl !mod_c2,mod_c_2_2`
   > 
   > I think this should be the equivalent of `mvn -pl mod_c_2_2`.
   
   AFAIK Maven should first pick all selected modules (`mod_c_2_2`) and remove all excluded modules (`mod_c2` recursive). In that case no project would be selected.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org