gnodet commented on issue #286:
URL: 
https://github.com/apache/maven-resources-plugin/issues/286#issuecomment-5906817783

   PR #535 documents and tests per-resource `<changeDetection>` overrides.
   
   Key finding: no code change was needed — maven-filtering's `Resource` 
already has a `changeDetection` field, and `DefaultMavenResourcesFiltering` 
already checks it before falling back to the request-level strategy. Maven's 
plugin configurator injects the value automatically.
   
   Note: `<changeDetection>` must be set in the plugin's 
`<configuration><resources>` block, not in `<build><resources>`. The IT uses 
`setup.groovy` to pre-seed a sentinel file, then asserts `NEVER` leaves it 
untouched and `ALWAYS` overwrites with source content.
   


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