Package org.eclipse.aether.internal.impl
Class DefaultInstaller
java.lang.Object
org.eclipse.aether.internal.impl.DefaultInstaller
- All Implemented Interfaces:
Installer
-
Constructor Summary
ConstructorDescriptionDefaultInstaller
(PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, Map<String, ArtifactTransformer> artifactTransformers, SyncContextFactory syncContextFactory) -
Method Summary
Modifier and TypeMethodDescriptioninstall
(RepositorySystemSession session, InstallRequest request) Installs a collection of artifacts and their accompanying metadata to the local repository.
-
Constructor Details
-
DefaultInstaller
@Inject public DefaultInstaller(PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, Map<String, ArtifactTransformer> artifactTransformers, SyncContextFactory syncContextFactory)
-
-
Method Details
-
install
public InstallResult install(RepositorySystemSession session, InstallRequest request) throws InstallationException Description copied from interface:Installer
Installs a collection of artifacts and their accompanying metadata to the local repository.- Specified by:
install
in interfaceInstaller
- Parameters:
session
- The repository session, must not benull
.request
- The installation request, must not benull
.- Returns:
- The installation result, never
null
. - Throws:
InstallationException
- If any artifact/metadata from the request could not be installed.- See Also:
-