return session;
}
public void printDependencyTree(List<String> coords) {
try {
final CollectRequest collectRequest = new CollectRequest();
collectRequest.setRepositories(repos);
collectRequest.setDependencies(toDependencies(coords));
CollectResult collectResult = system.collectDependencies(session, collectRequest);
collectResult.getRoot().accept(new ConsoleDependencyGraphDumper(appId, System.out));
} catch (DependencyCollectionException e) {
throw new RuntimeException(e);
}