Class DefaultArtifactDescriptorReader
java.lang.Object
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
- All Implemented Interfaces:
org.eclipse.aether.impl.ArtifactDescriptorReader
,org.eclipse.aether.spi.locator.Service
@Named
@Singleton
public class DefaultArtifactDescriptorReader
extends Object
implements org.eclipse.aether.impl.ArtifactDescriptorReader, 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.ArtifactDescriptorResult
readArtifactDescriptor
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) setArtifactResolver
(org.eclipse.aether.impl.ArtifactResolver artifactResolver) setModelBuilder
(ModelBuilder modelBuilder) setModelCacheFactory
(ModelCacheFactory modelCacheFactory) setRemoteRepositoryManager
(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager) setRepositoryEventDispatcher
(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) setVersionRangeResolver
(org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver) setVersionResolver
(org.eclipse.aether.impl.VersionResolver versionResolver)
-
Constructor Details
-
DefaultArtifactDescriptorReader
public DefaultArtifactDescriptorReader()
-
-
Method Details
-
initService
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator) - Specified by:
initService
in interfaceorg.eclipse.aether.spi.locator.Service
-
setRemoteRepositoryManager
public DefaultArtifactDescriptorReader setRemoteRepositoryManager(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager) -
setVersionResolver
public DefaultArtifactDescriptorReader setVersionResolver(org.eclipse.aether.impl.VersionResolver versionResolver) -
setVersionRangeResolver
public DefaultArtifactDescriptorReader setVersionRangeResolver(org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver) - Since:
- 3.2.2
-
setArtifactResolver
public DefaultArtifactDescriptorReader setArtifactResolver(org.eclipse.aether.impl.ArtifactResolver artifactResolver) -
setRepositoryEventDispatcher
public DefaultArtifactDescriptorReader setRepositoryEventDispatcher(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) -
setModelBuilder
-
setModelCacheFactory
-
readArtifactDescriptor
public org.eclipse.aether.resolution.ArtifactDescriptorResult readArtifactDescriptor(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) throws org.eclipse.aether.resolution.ArtifactDescriptorException - Specified by:
readArtifactDescriptor
in interfaceorg.eclipse.aether.impl.ArtifactDescriptorReader
- Throws:
org.eclipse.aether.resolution.ArtifactDescriptorException
-