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

   ## Summary
   
   Improve the diagnostic reported when resource filtering encounters malformed 
input, which commonly happens when a binary resource is accidentally configured 
for filtering.
   
   ## Changes
   
   - Detect `MalformedInputException` anywhere in the filtering failure chain.
   - Explain that the resource may be binary and point users to 
`nonFilteredFileExtensions` or disabling filtering.
   - Add a focused regression test for the diagnostic.
   
   ## Testing
   
   - `mvn -pl . 
-Dtest=ResourcesMojoTest#malformedInputExplainsHowToHandleBinaryResources 
-Dsurefire.failIfNoSpecifiedTests=false -DskipITs -Dcheckstyle.skip -Drat.skip 
-Dspotless.skip=true test` — passed
   - `git diff --check` — passed
   
   The change addresses the diagnostic requested in #276. AI assistance was 
used; the complete diff and test results were reviewed by the submitter.
   


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