// TODO: we lost the caching here in the refactoring
// lets install the root dependency tree so we don't have to do the whole resolving again
//childConnection.setRootTree(dependency);
PomDetails pomDetails = childConnection.resolver.getInfo().getPomDetails();
if (pomDetails != null && pomDetails.isValid()) {
// lets make sure we use a FAB to deploy it
LOG.info("Installing fabric bundle: " + name + " from: " + installUri);
bundle = bundleContext.installBundle(installUri, childConnection.getInputStream());
} else {
LOG.warn("Could not deduce the pom.xml for the jar " + installUri + " so cannot treat as FAB");