efegokdemir opened a new pull request, #744:
URL: https://github.com/apache/maven-pmd-plugin/pull/744

   ## Summary
   
   Avoid storing the report file collection in shared mutable state. Each 
PMD/CPD report now resolves the files it renders or analyzes locally, so report 
execution does not depend on a prior `canGenerateReport()` call.
   
   ## Changes
   
   - Remove the shared `filesToProcess` field.
   - Resolve file maps locally in report checks, execution, and rendering.
   - Preserve the existing error handling for file collection failures.
   
   ## Testing
   
   - `mvn -Dspotless.skip=true -Dcheckstyle.skip=true -DskipITs 
-Dtest="*ReportTest" test` — passed (39 tests)
   - `git diff --check` — passed
   
   Fixes #224


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