}
@Override
public void execute() throws BuildException {
Injector injector = Guice.createInjector(new SuperNannyModule());
Util util = injector.getInstance(Util.class);
DepFetcher fetcher = injector.getInstance(DepFetcher.class);
if (this.skip) {
return;
}
try {
CliParser p = new CliParser();
p.depfile = this.depFile;
p.skipCleanup = this.skipCleanup;
util.setRoot(new File(root));
fetcher.resolve(new File(root), p);
} catch (IOException e) {
log("Errors resolving dependencies for project in " + root);
throw new BuildException(e);
}