ClassPackageResolverContext ctx = new ClassPackageResolverContext(reference);
ctx.setResolveDependencies(false);
this.resolve(ctx);
ClassPackageResolverNetworkNode node = ctx.getResolved(reference);
if (node != null) {
ClassPackageUtil.downloadDependencies(this, node);
return node.createPackage();
}
return null;
}