diff --git a/its/.mvn/readme.txt b/its/.mvn/readme.txt new file mode 100644 index 0000000000..ffbfd18cc0 --- /dev/null +++ b/its/.mvn/readme.txt @@ -0,0 +1 @@ +.mvn directory should exist in project root \ No newline at end of file diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3043BestEffortReactorResolutionTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3043BestEffortReactorResolutionTest.java index d3a0987981..246f662b23 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3043BestEffortReactorResolutionTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3043BestEffortReactorResolutionTest.java @@ -19,6 +19,7 @@ package org.apache.maven.it; import java.io.File; +import java.nio.file.Files; import java.util.List; import org.apache.maven.shared.verifier.Verifier; @@ -46,6 +47,7 @@ public class MavenITmng3043BestEffortReactorResolutionTest extends AbstractMaven @Test public void testitTestPhase() throws Exception { File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-3043"); + Files.createDirectories(testDir.toPath().resolve(".mvn")); Verifier verifier = newVerifier(testDir.getAbsolutePath()); verifier.setAutoclean(false); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4660OutdatedPackagedArtifact.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4660OutdatedPackagedArtifact.java index e76130a87b..2073aa3bf3 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4660OutdatedPackagedArtifact.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4660OutdatedPackagedArtifact.java @@ -57,6 +57,7 @@ public class MavenITmng4660OutdatedPackagedArtifact extends AbstractMavenIntegra public void testShouldWarnWhenPackagedArtifactIsOutdated() throws Exception { final File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-4660-outdated-packaged-artifact"); + Files.createDirectories(testDir.toPath().resolve(".mvn")); // 1. Package the whole project final Verifier verifier1 = newVerifier(testDir.getAbsolutePath());