slachiewicz opened a new pull request, #455: URL: https://github.com/apache/maven-shared-utils/pull/455
`MatchPattern.matchPatternStart` built its slash-normalized string from the pattern instead of the path, so its second `matchAntPathPatternStart` call compared the pattern with itself and the method returned true for every Ant pattern. `DirectoryScanner.couldHoldIncluded` relies on it and therefore descended into every directory; results were unaffected, only the work was. plexus-utils' `MatchPattern` has the path here. The new test case fails before the change. Verified: `mvn verify` → all tests pass. -- 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]
