Class DefaultVersionResolver

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

@Named @Singleton @Deprecated(since="4.0.0") public class DefaultVersionResolver extends Object implements org.eclipse.aether.impl.VersionResolver
Deprecated.
since 4.0.0, use maven-api-impl jar instead
  • 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)
    Deprecated.
     
  • Method Summary

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

    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)
      Deprecated.
  • 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
      Deprecated.
      Specified by:
      resolveVersion in interface org.eclipse.aether.impl.VersionResolver
      Throws:
      org.eclipse.aether.resolution.VersionResolutionException