More verbose test failure.
This commit is contained in:
@@ -40,6 +40,8 @@ public class MavenBuilder {
|
||||
ExternalProcess process = new ExternalProcess(projectPath.toFile(),
|
||||
new ExternalCommand(all.toArray(new String[all.size()])), true);
|
||||
if (process.getExitValue() != 0) {
|
||||
System.err.println("Failed to build test project!");
|
||||
System.err.println(process);
|
||||
throw new RuntimeException("Failed to build test project! " + process);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user