Package org.eclipse.aether.internal.impl
Class DefaultRepositorySystem
- java.lang.Object
-
- org.eclipse.aether.internal.impl.DefaultRepositorySystem
-
- All Implemented Interfaces:
RepositorySystem
,Service
@Named public class DefaultRepositorySystem extends Object implements RepositorySystem, Service
-
-
Constructor Summary
Constructors Constructor Description DefaultRepositorySystem()
-
Method Summary
-
-
-
Constructor Detail
-
DefaultRepositorySystem
public DefaultRepositorySystem()
-
-
Method Detail
-
initService
public void initService(ServiceLocator locator)
- Specified by:
initService
in interfaceService
-
setLoggerFactory
@Deprecated public DefaultRepositorySystem setLoggerFactory(LoggerFactory loggerFactory)
Deprecated.not used any more since MRESOLVER-36 move to slf4j, added back in MRESOLVER-64 for compatibility
-
setVersionResolver
public DefaultRepositorySystem setVersionResolver(VersionResolver versionResolver)
-
setVersionRangeResolver
public DefaultRepositorySystem setVersionRangeResolver(VersionRangeResolver versionRangeResolver)
-
setArtifactResolver
public DefaultRepositorySystem setArtifactResolver(ArtifactResolver artifactResolver)
-
setMetadataResolver
public DefaultRepositorySystem setMetadataResolver(MetadataResolver metadataResolver)
-
setArtifactDescriptorReader
public DefaultRepositorySystem setArtifactDescriptorReader(ArtifactDescriptorReader artifactDescriptorReader)
-
setDependencyCollector
public DefaultRepositorySystem setDependencyCollector(DependencyCollector dependencyCollector)
-
setInstaller
public DefaultRepositorySystem setInstaller(Installer installer)
-
setDeployer
public DefaultRepositorySystem setDeployer(Deployer deployer)
-
setLocalRepositoryProvider
public DefaultRepositorySystem setLocalRepositoryProvider(LocalRepositoryProvider localRepositoryProvider)
-
setSyncContextFactory
public DefaultRepositorySystem setSyncContextFactory(SyncContextFactory syncContextFactory)
-
setRemoteRepositoryManager
public DefaultRepositorySystem setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager)
-
resolveVersion
public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request) throws VersionResolutionException
- Specified by:
resolveVersion
in interfaceRepositorySystem
- Throws:
VersionResolutionException
-
resolveVersionRange
public VersionRangeResult resolveVersionRange(RepositorySystemSession session, VersionRangeRequest request) throws VersionRangeResolutionException
- Specified by:
resolveVersionRange
in interfaceRepositorySystem
- Throws:
VersionRangeResolutionException
-
readArtifactDescriptor
public ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request) throws ArtifactDescriptorException
- Specified by:
readArtifactDescriptor
in interfaceRepositorySystem
- Throws:
ArtifactDescriptorException
-
resolveArtifact
public ArtifactResult resolveArtifact(RepositorySystemSession session, ArtifactRequest request) throws ArtifactResolutionException
- Specified by:
resolveArtifact
in interfaceRepositorySystem
- Throws:
ArtifactResolutionException
-
resolveArtifacts
public List<ArtifactResult> resolveArtifacts(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests) throws ArtifactResolutionException
- Specified by:
resolveArtifacts
in interfaceRepositorySystem
- Throws:
ArtifactResolutionException
-
resolveMetadata
public List<MetadataResult> resolveMetadata(RepositorySystemSession session, Collection<? extends MetadataRequest> requests)
- Specified by:
resolveMetadata
in interfaceRepositorySystem
-
collectDependencies
public CollectResult collectDependencies(RepositorySystemSession session, CollectRequest request) throws DependencyCollectionException
- Specified by:
collectDependencies
in interfaceRepositorySystem
- Throws:
DependencyCollectionException
-
resolveDependencies
public DependencyResult resolveDependencies(RepositorySystemSession session, DependencyRequest request) throws DependencyResolutionException
- Specified by:
resolveDependencies
in interfaceRepositorySystem
- Throws:
DependencyResolutionException
-
install
public InstallResult install(RepositorySystemSession session, InstallRequest request) throws InstallationException
- Specified by:
install
in interfaceRepositorySystem
- Throws:
InstallationException
-
deploy
public DeployResult deploy(RepositorySystemSession session, DeployRequest request) throws DeploymentException
- Specified by:
deploy
in interfaceRepositorySystem
- Throws:
DeploymentException
-
newLocalRepositoryManager
public LocalRepositoryManager newLocalRepositoryManager(RepositorySystemSession session, LocalRepository localRepository)
- Specified by:
newLocalRepositoryManager
in interfaceRepositorySystem
-
newSyncContext
public SyncContext newSyncContext(RepositorySystemSession session, boolean shared)
- Specified by:
newSyncContext
in interfaceRepositorySystem
-
newResolutionRepositories
public List<RemoteRepository> newResolutionRepositories(RepositorySystemSession session, List<RemoteRepository> repositories)
- Specified by:
newResolutionRepositories
in interfaceRepositorySystem
-
newDeploymentRepository
public RemoteRepository newDeploymentRepository(RepositorySystemSession session, RemoteRepository repository)
- Specified by:
newDeploymentRepository
in interfaceRepositorySystem
-
-