More verbose test failure.

This commit is contained in:
Kris De Volder
2019-07-25 17:46:49 -07:00
parent d9f48ed693
commit d417fd461f

View File

@@ -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);
}
}