null), container.getEnabledRepositoriesFromProfile(settings));
DependencyRequest dr = new DependencyRequest(collectRequest, null);
DependencyResult result = system.resolveDependencies(session, dr);
DependencyNodeBuilder hierarchy = MavenConvertUtils.toDependencyNode(factory, null, result.getRoot());
return hierarchy;
}
catch (Exception e)
{
throw new DependencyException("Could not resolve dependencies for addon [" + query.getCoordinate() + "]", e);