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

   `PathSelector` drops the excludes that cannot match any include, but it 
compares a directory exclude such as `docs/`, which means `docs/**`, as 
written. For includes like `**/*.md` it is dropped, so `docs/guide.md` is 
selected although it is excluded. The exclude is now compared as `docs/**`; 
`PathSelectorTest#testExcludeDirectoryWithTrailingSlash` fails without the 
change. #13993 fixed the same omission for excludes with an explicit `glob:` 
prefix.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).


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