Class DefaultVersionResolver
java.lang.Object
org.apache.maven.repository.internal.DefaultVersionResolver
- All Implemented Interfaces:
org.eclipse.aether.impl.VersionResolver
@Named
@Singleton
public class DefaultVersionResolver
extends Object
implements org.eclipse.aether.impl.VersionResolver
- Author:
- Benjamin Bentmann
-
Constructor Summary
ConstructorDescriptionDefaultVersionResolver
(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.resolution.VersionResult
resolveVersion
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request)
-
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 interfaceorg.eclipse.aether.impl.VersionResolver
- Throws:
org.eclipse.aether.resolution.VersionResolutionException
-