Class DefaultArtifactDescriptorReader

java.lang.Object
org.apache.maven.internal.impl.resolver.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 Details

    • DefaultArtifactDescriptorReader

      @Inject public DefaultArtifactDescriptorReader(org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.ArtifactResolver artifactResolver, ModelBuilder modelBuilder, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, 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 interface org.eclipse.aether.impl.ArtifactDescriptorReader
      Throws:
      org.eclipse.aether.resolution.ArtifactDescriptorException