use of com.twosigma.beakerx.kernel.commands.MavenJarResolverSilentLogger in project beakerx by twosigma.
the class MavenJarResolver method getInvoker.
private Invoker getInvoker(MvnLoggerWidget progress) {
Invoker invoker = new DefaultInvoker();
String mvn = findMvn();
System.setProperty("maven.home", mvn);
invoker.setLogger(new MavenJarResolverSilentLogger());
invoker.setOutputHandler(new MavenInvocationSilentOutputHandler(progress));
invoker.setLocalRepositoryDirectory(getOrCreateFile(this.commandParams.getPathToCache()));
return invoker;
}
Aggregations