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
ConstructorDescriptionDeprecated.DefaultArtifactDescriptorReader
(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver, org.eclipse.aether.impl.ArtifactResolver artifactResolver, ModelBuilder modelBuilder, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, ModelCacheFactory modelCacheFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initService
(org.eclipse.aether.spi.locator.ServiceLocator locator) Deprecated.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
Deprecated. -
DefaultArtifactDescriptorReader
@Inject public DefaultArtifactDescriptorReader(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver, org.eclipse.aether.impl.ArtifactResolver artifactResolver, ModelBuilder modelBuilder, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, ModelCacheFactory modelCacheFactory)
-
-
Method Details
-
initService
Deprecated.- 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
-