Class DefaultRepositorySystem

java.lang.Object
org.eclipse.aether.internal.impl.DefaultRepositorySystem
All Implemented Interfaces:
org.eclipse.aether.RepositorySystem, org.eclipse.aether.spi.locator.Service

@Singleton @Named public class DefaultRepositorySystem extends Object implements org.eclipse.aether.RepositorySystem, org.eclipse.aether.spi.locator.Service
  • Constructor Details

  • Method Details

    • initService

      public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
      Specified by:
      initService in interface org.eclipse.aether.spi.locator.Service
    • setLoggerFactory

      @Deprecated public DefaultRepositorySystem setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
      Deprecated.
      not used any more since MRESOLVER-36 move to slf4j, added back in MRESOLVER-64 for compatibility
    • setVersionResolver

    • setVersionRangeResolver

    • setArtifactResolver

    • setMetadataResolver

    • setArtifactDescriptorReader

    • setDependencyCollector

    • setInstaller

    • setDeployer

    • setLocalRepositoryProvider

    • setSyncContextFactory

      public DefaultRepositorySystem setSyncContextFactory(org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
    • setRemoteRepositoryManager

    • setRepositorySystemLifecycle

    • resolveVersion

      public org.eclipse.aether.resolution.VersionResult resolveVersion(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) throws org.eclipse.aether.resolution.VersionResolutionException
      Specified by:
      resolveVersion in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.resolution.VersionResolutionException
    • resolveVersionRange

      public org.eclipse.aether.resolution.VersionRangeResult resolveVersionRange(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRangeRequest request) throws org.eclipse.aether.resolution.VersionRangeResolutionException
      Specified by:
      resolveVersionRange in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.resolution.VersionRangeResolutionException
    • 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.RepositorySystem
      Throws:
      org.eclipse.aether.resolution.ArtifactDescriptorException
    • resolveArtifact

      public org.eclipse.aether.resolution.ArtifactResult resolveArtifact(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactRequest request) throws org.eclipse.aether.resolution.ArtifactResolutionException
      Specified by:
      resolveArtifact in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.resolution.ArtifactResolutionException
    • resolveArtifacts

      public List<org.eclipse.aether.resolution.ArtifactResult> resolveArtifacts(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.ArtifactRequest> requests) throws org.eclipse.aether.resolution.ArtifactResolutionException
      Specified by:
      resolveArtifacts in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.resolution.ArtifactResolutionException
    • resolveMetadata

      public List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests)
      Specified by:
      resolveMetadata in interface org.eclipse.aether.RepositorySystem
    • collectDependencies

      public org.eclipse.aether.collection.CollectResult collectDependencies(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.collection.CollectRequest request) throws org.eclipse.aether.collection.DependencyCollectionException
      Specified by:
      collectDependencies in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.collection.DependencyCollectionException
    • resolveDependencies

      public org.eclipse.aether.resolution.DependencyResult resolveDependencies(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.DependencyRequest request) throws org.eclipse.aether.resolution.DependencyResolutionException
      Specified by:
      resolveDependencies in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.resolution.DependencyResolutionException
    • install

      public org.eclipse.aether.installation.InstallResult install(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request) throws org.eclipse.aether.installation.InstallationException
      Specified by:
      install in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.installation.InstallationException
    • deploy

      public org.eclipse.aether.deployment.DeployResult deploy(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request) throws org.eclipse.aether.deployment.DeploymentException
      Specified by:
      deploy in interface org.eclipse.aether.RepositorySystem
      Throws:
      org.eclipse.aether.deployment.DeploymentException
    • newLocalRepositoryManager

      public org.eclipse.aether.repository.LocalRepositoryManager newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository localRepository)
      Specified by:
      newLocalRepositoryManager in interface org.eclipse.aether.RepositorySystem
    • newSyncContext

      public org.eclipse.aether.SyncContext newSyncContext(org.eclipse.aether.RepositorySystemSession session, boolean shared)
      Specified by:
      newSyncContext in interface org.eclipse.aether.RepositorySystem
    • newResolutionRepositories

      public List<org.eclipse.aether.repository.RemoteRepository> newResolutionRepositories(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.repository.RemoteRepository> repositories)
      Specified by:
      newResolutionRepositories in interface org.eclipse.aether.RepositorySystem
    • newDeploymentRepository

      public org.eclipse.aether.repository.RemoteRepository newDeploymentRepository(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository)
      Specified by:
      newDeploymentRepository in interface org.eclipse.aether.RepositorySystem
    • addOnSystemEndedHandler

      public void addOnSystemEndedHandler(Runnable handler)
      Specified by:
      addOnSystemEndedHandler in interface org.eclipse.aether.RepositorySystem
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.eclipse.aether.RepositorySystem