Class DefaultArtifactDescriptorReader
java.lang.Object
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
- All Implemented Interfaces:
org.eclipse.aether.impl.ArtifactDescriptorReader
@Named
@Singleton
public class DefaultArtifactDescriptorReader
extends Object
implements org.eclipse.aether.impl.ArtifactDescriptorReader
Default artifact descriptor reader.
-
Constructor Summary
ConstructorDescriptionDefaultArtifactDescriptorReader
(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, Map<String, MavenArtifactRelocationSource> artifactRelocationSources) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.resolution.ArtifactDescriptorResult
readArtifactDescriptor
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request)
-
Constructor Details
-
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, Map<String, MavenArtifactRelocationSource> artifactRelocationSources)
-
-
Method Details
-
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
-