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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initService
(org.eclipse.aether.spi.locator.ServiceLocator locator) org.eclipse.aether.resolution.VersionResult
resolveVersion
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) setMetadataResolver
(org.eclipse.aether.impl.MetadataResolver metadataResolver) setRepositoryEventDispatcher
(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) setSyncContextFactory
(org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
-
Constructor Details
-
DefaultVersionResolver
public DefaultVersionResolver()
-
-
Method Details
-
initService
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator) - Specified by:
initService
in interfaceorg.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 interfaceorg.eclipse.aether.impl.VersionResolver
- Throws:
org.eclipse.aether.resolution.VersionResolutionException
-