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 Details

    • DefaultArtifactDescriptorReader

      @Deprecated public 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 public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
      Deprecated.
      Specified by:
      initService in interface org.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

      public DefaultArtifactDescriptorReader setModelBuilder(ModelBuilder modelBuilder)
    • setModelCacheFactory

      public DefaultArtifactDescriptorReader setModelCacheFactory(ModelCacheFactory modelCacheFactory)
    • 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