gnodet opened a new pull request, #522:
URL: https://github.com/apache/maven-resources-plugin/pull/522
## Summary
Remove the redundant
`<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>`
property from all IT `pom.xml` files under `src/it/`.
## Rationale
Since MNG-7763, Maven 4 defaults `project.build.sourceEncoding` to `UTF-8`
when not
explicitly set. Since `maven-resources-plugin` 4.x requires Maven 4,
explicitly
declaring this property in IT POMs is redundant noise. Empty `<properties>`
blocks
left after the removal are also cleaned up.
## Files changed
- `src/it/MRESOURCES-110/pom.xml` — encoding line removed (block keeps
`replaceThis` property)
- `src/it/MRESOURCES-171/pom.xml` — encoding line and empty `<properties>`
block removed
- `src/it/MRESOURCES-231/pom.xml` — encoding line and empty `<properties>`
block removed
- `src/it/MRESOURCES-257/pom.xml` — encoding line and empty `<properties>`
block removed
- `src/it/gh-312/pom.xml` — encoding line removed (block keeps compiler
source/target properties)
- `src/it/include-git-ignore/pom.xml` — encoding line and empty
`<properties>` block removed
Note: `src/it/MRESOURCES-231/src/main/resources/test.txt` references
`${project.build.sourceEncoding}` as a filter expression under test — it is
intentionally left
unchanged, and will still resolve correctly since Maven 4 provides the
default.
---
_Co-authored-by: Claude Sonnet 4.6 <[email protected]>_
--
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]