Skip to content

Conversation

hazendaz
Copy link
Member

@hazendaz hazendaz commented Sep 1, 2025

fixes #1166

…#1166

Earlier changes were based off descriptions provided which didn't indicate there was a difference between how plexus worked by looking at direct files vs files on classpath.  Make this much clearer and avoid plexus entirely as its internals just do nio now.  Keep rest of logic which confirms classpath side of things with existing tests.
@hazendaz hazendaz self-assigned this Sep 1, 2025
Copy link

sonarqubecloud bot commented Sep 1, 2025

@hazendaz
Copy link
Member Author

hazendaz commented Sep 1, 2025

This appears to be side effect of original code that was not defined to work. The resource manager is provided all it needs from the direct project its sitting in, it doesn't know about the parent so its logic to copy didn't work out in case file is on disk in parent location but not listed on sub modules. An integration test provided to fix this has been tweaked and added to the project here. The logic around this handling has been documented to be handling files vs URL which restores prior behavior and prevents its removal now.

@hazendaz hazendaz merged commit 9a496b8 into spotbugs:master Sep 1, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

excludeFilterFile does not work anymore in 4.9.4.0
1 participant