Class DefaultVersionResolver

java.lang.Object
org.apache.maven.repository.internal.DefaultVersionResolver
All Implemented Interfaces:
org.eclipse.aether.impl.VersionResolver, org.eclipse.aether.spi.locator.Service

@Named @Singleton public class DefaultVersionResolver extends Object implements org.eclipse.aether.impl.VersionResolver, org.eclipse.aether.spi.locator.Service
Author:
Benjamin Bentmann
  • Constructor Details

    • DefaultVersionResolver

      public DefaultVersionResolver()
  • Method Details

    • initService

      public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
      Specified by:
      initService in interface org.eclipse.aether.spi.locator.Service
    • setMetadataResolver

      public DefaultVersionResolver setMetadataResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver)
    • setSyncContextFactory

      public DefaultVersionResolver setSyncContextFactory(org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
    • setRepositoryEventDispatcher

      public DefaultVersionResolver setRepositoryEventDispatcher(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)
    • resolveVersion

      public org.eclipse.aether.resolution.VersionResult resolveVersion(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) throws org.eclipse.aether.resolution.VersionResolutionException
      Specified by:
      resolveVersion in interface org.eclipse.aether.impl.VersionResolver
      Throws:
      org.eclipse.aether.resolution.VersionResolutionException