diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3183LoggingToFileTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3183LoggingToFileTest.java index d905981a74..f90ba8ebb8 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3183LoggingToFileTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3183LoggingToFileTest.java @@ -67,14 +67,7 @@ public class MavenITmng3183LoggingToFileTest extends AbstractMavenIntegrationTes } } - if (getMavenVersion().getMajorVersion() < 4) { - assertEquals(Collections.EMPTY_LIST, stdout); - } else { - assertEquals(1, stdout.size()); - assertEquals( - "Unable to find the root directory. Create a .mvn directory in the root directory or add the root=\"true\" attribute on the root project's model to identify it.", - stdout.iterator().next()); - } + assertEquals(Collections.EMPTY_LIST, stdout); List log = verifier.loadLines("maven.log", "UTF-8"); diff --git a/its/core-it-suite/src/test/resources/mng-4387/.mvn/empty b/its/core-it-suite/src/test/resources/mng-4387/.mvn/empty deleted file mode 100644 index e69de29bb2..0000000000