diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4963ParentResolutionFromMirrorTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4963ParentResolutionFromMirrorTest.java index c0efab30c..fb1df45bd 100644 --- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4963ParentResolutionFromMirrorTest.java +++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4963ParentResolutionFromMirrorTest.java @@ -55,6 +55,10 @@ public void testit() verifier.addCliOption( "-s" ); verifier.addCliOption( "settings.xml" ); verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() ); + if ( matchesVersionRange( "[4.0.0-alpha-1,)" ) ) + { + verifier.addCliOption( "-Pit-defaults-4.0.0" ); + } verifier.executeGoal( "validate" ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); diff --git a/core-it-suite/src/test/resources/mng-4963/settings-template.xml b/core-it-suite/src/test/resources/mng-4963/settings-template.xml index 16d84ab7f..332795aa4 100644 --- a/core-it-suite/src/test/resources/mng-4963/settings-template.xml +++ b/core-it-suite/src/test/resources/mng-4963/settings-template.xml @@ -46,6 +46,24 @@ under the License. + + + it-defaults-4.0.0 + + + maven-core-it-4.0.0 + @baseurl@/repo + + true + + + false + + + + it-defaults