gnodet opened a new pull request, #440: URL: https://github.com/apache/maven-integration-testing/pull/440
Maven 3.10.x commit [03c947d820](https://github.com/apache/maven/commit/03c947d820) restricts property interpolation for models built at `VALIDATION_LEVEL_MINIMAL` (dependency, parent and BOM-import POMs). User, system and environment properties are no longer resolved in those models by default. The existing integration tests for system-scope dependencies in repository-resolved models were not updated to account for this new behavior, causing 4 ITs to fail on every platform and JDK combination: - `MavenIT0085TransitiveSystemScopeTest` - `MavenITmng3586SystemScopePluginDependencyTest` - `MavenITmng4379TransitiveSystemPathInterpolatedWithEnvVarTest` - `MavenITmng4590ImportedPomUsesSystemAndUserPropertiesTest` This PR adapts the tests by: 1. Adding `-Dmaven.model.dependencyInterpolation.full=true` to the existing test methods so they continue testing the full-interpolation behavior 2. Adding new test methods that verify the new default (restricted) behavior: when the opt-out is not set, the build should fail because `systemPath` expressions remain unresolved This matches the approach taken for the in-tree ITs on master/4.0.x in commit [3c097358a5](https://github.com/apache/maven/commit/3c097358a5). -- 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]
