long start = System.currentTimeMillis();
data.getEventManager().fireIvyEvent(
new StartResolveDependencyEvent(resolver, dependencyDescriptor));
module = resolver.getDependency(dependencyDescriptor, data);
data.getEventManager().fireIvyEvent(
new EndResolveDependencyEvent(resolver, dependencyDescriptor, module,
System.currentTimeMillis() - start));
if (module != null) {
data.getCacheManager().saveResolvers(module.getDescriptor(),
module.getResolver().getName(),
module.getArtifactResolver().getName());