javaHome = new File(javaHome).getParentFile().getCanonicalPath();
mavenVerifier.setEnvironmentVariable("JAVA_HOME", javaHome);
}
}
mavenVerifier.executeGoal("package");
mavenVerifier.verifyErrorFreeLog();
}
private RestxShell prepareRestxShell() throws IOException {
ConsoleReader consoleReader = new ConsoleReader();
RestxShell shell = spy(new RestxShell(consoleReader, Factory.builder().build()));