This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new c6a50a9955 [Backport maven-4.0.x] #14125: Keep a directory exclude in
PathSelector (#14152)
c6a50a9955 is described below
commit c6a50a995526bd95df555c1f1f2e6c35250d13fb
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Nov 27 13:15:17 2026 +0100
[Backport maven-4.0.x] #14125: Keep a directory exclude in PathSelector
(#14152)
PathSelector drops the excludes that cannot match any include, but it
compared a directory exclude such as docs/, which means docs/**, as
written, so it was dropped for includes like **/*.md and the files of
that directory were selected.
Cherry-picked from fd1c8922bea3b5267b00c54fefef649aa7e446fd.
Co-authored-by: Sharang Gupta <[email protected]>