gnodet opened a new pull request, #22479: URL: https://github.com/apache/camel/pull/22479
## Summary Adds `sonar.cpd.exclusions` to the root `pom.xml` to exclude modules with unavoidable code duplication from SonarCloud Copy-Paste Detection (CPD). **Excluded modules:** - **`camel-jackson3` / `camel-jackson3xml`** (~2,200 lines): These are forks of the Jackson v2 modules (`camel-jackson` / `camel-jacksonxml`) adapted for the Jackson 3.x API. The duplication between v2 and v3 variants is unavoidable since they target different major versions of Jackson with incompatible APIs. - **`camel-test-junit6`** (~4,000 lines): This is a copy of `camel-test-junit5` with package renames for the JUnit 6 migration. The duplication is intentional and temporary until JUnit 5 support is eventually removed. These exclusions should bring the new code duplication metric below the 3% quality gate threshold (currently at 5.58%). ## Test plan - [ ] Verify SonarCloud analysis passes the duplication gate on the next PR scan _Claude Code on behalf of Guillaume Nodet_ -- 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]
