VersionComparator versionComparator, ProjectRegistry<ProjectInternal> projectRegistry, ComponentIdentifierFactory componentIdentifierFactory) {
ArtifactDependencyResolver resolver = new DefaultDependencyResolver(
resolveIvyFactory,
publishModuleDescriptorConverter,
dependencyDescriptorFactory,
new DefaultProjectComponentRegistry(
publishModuleDescriptorConverter,
projectRegistry),
cacheLockingManager,
ivyContextManager,
resolutionResultsStoreFactory,