Class DefaultVersionResolver

java.lang.Object
org.apache.maven.internal.impl.resolver.DefaultVersionResolver
All Implemented Interfaces:
org.eclipse.aether.impl.VersionResolver

@Named @Singleton public class DefaultVersionResolver extends Object implements org.eclipse.aether.impl.VersionResolver
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultVersionResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.aether.resolution.VersionResult
    resolveVersion(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultVersionResolver

      @Inject public DefaultVersionResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)
  • Method Details

    • 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