mirror of https://github.com/apache/maven.git
[MNG-7898] Missing .mvn directory should not be reported in quiet mode
This commit is contained in:
parent
464536d05b
commit
5797211100
|
@ -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<String> log = verifier.loadLines("maven.log", "UTF-8");
|
||||
|
||||
|
|
Loading…
Reference in New Issue