Package org.eclipse.aether.internal.impl
Class DefaultDeployer
java.lang.Object
org.eclipse.aether.internal.impl.DefaultDeployer
- All Implemented Interfaces:
Deployer
-
Constructor Summary
ConstructorDescriptionDefaultDeployer
(PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, Map<String, ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, Map<String, ArtifactTransformer> artifactTransformers, SyncContextFactory syncContextFactory, OfflineController offlineController) -
Method Summary
Modifier and TypeMethodDescriptiondeploy
(RepositorySystemSession session, DeployRequest request) Uploads a collection of artifacts and their accompanying metadata to a remote repository.
-
Constructor Details
-
DefaultDeployer
@Inject public DefaultDeployer(PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, Map<String, ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, Map<String, ArtifactTransformer> artifactTransformers, SyncContextFactory syncContextFactory, OfflineController offlineController)
-
-
Method Details
-
deploy
public DeployResult deploy(RepositorySystemSession session, DeployRequest request) throws DeploymentException Description copied from interface:Deployer
Uploads a collection of artifacts and their accompanying metadata to a remote repository.- Specified by:
deploy
in interfaceDeployer
- Parameters:
session
- The repository session, must not benull
.request
- The deployment request, must not benull
.- Returns:
- The deployment result, never
null
. - Throws:
DeploymentException
- If any artifact/metadata from the request could not be deployed.- See Also:
-