gnodet opened a new pull request, #14037:
URL: https://github.com/apache/maven/pull/14037

   Backport of #13993 to `maven-4.0.x`.
   
   `PathSelector` can discard an explicit `glob:` exclusion while reducing the 
exclusion list. For example, including `foo/*.java` and excluding 
`glob:foo/Excluded.java` still selects `foo/Excluded.java`.
   
   The include fragments have their syntax prefix removed, but the exclusion 
was compared with its prefix intact. Strip the prefix from the temporary 
comparison string while retaining the original pattern for the filesystem 
matcher.
   
   Add regression coverage for explicit and implicit include syntax, literal 
and wildcard exclusions, and default exclusions enabled/disabled (12 
parameterized cases + 2 unit tests).
   
   Cherry-picked from b30592d72ca0a91d678d5b932209d583afd5a5e7, applied cleanly 
with no conflicts.
   
   <!-- maven-backport-bot -->


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to