gnodet opened a new pull request, #447: URL: https://github.com/apache/maven-integration-testing/pull/447
## Summary Fixes IT failures on the `maven-3.10.x` branch caused by stricter validation introduced in Maven 3.10.0. ## Root Cause Maven 3.10.0 changed `VALIDATION_LEVEL_STRICT` from `VALIDATION_LEVEL_MAVEN_3_0` to `VALIDATION_LEVEL_MAVEN_3_1` ([commit af936f4](https://github.com/apache/maven/commit/af936f4e)). This promotes duplicate plugin and dependency declarations from `[WARNING]` to `[ERROR]` in strict mode. Three ITs were broken: | Test | Failure | |------|---------| | `MavenITmng1701DuplicatePluginTest` | Expected `[WARNING]` for duplicate plugin, got `[ERROR]` on Maven 3.10.x | | `MavenITmng4005UniqueDependencyKeyTest` | Expected `[WARNING]` for duplicate dependency, got `[ERROR]` on Maven 3.10.x | | `MavenITmng3719PomExecutionOrderingTest` | Test fixture had two separate `maven-it-plugin-log-file` declarations (duplicate plugin), now rejected as a validation error | ## Fix - **MNG-1701 / MNG-4005**: Update the `[WARNING]` vs `[ERROR]` version check from `(,4.0.0-alpha-1)` to `(,3.10.0)` to correctly account for Maven 3.10.0's stricter validation level. - **MNG-3719**: Merge the two separate `maven-it-plugin-log-file` plugin declarations in the test fixture POM into a single declaration with both executions (`step 1` and `step 3`). The test still validates the expected execution ordering (step1 → step3 → step2). Extend the version range to include Maven 3.10.0+. _Hermes Agent (Claude Sonnet 4.6) 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]
