Package org.apache.maven.api.services
Interface ArtifactDeployer
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultArtifactDeployer
Deploys
ProducedArtifact
s to a RemoteRepository
.- Since:
- 4.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(ArtifactDeployerRequest request) default void
deploy
(Session session, RemoteRepository repository, Collection<ProducedArtifact> artifacts)
-
Method Details
-
deploy
- Parameters:
request
-ArtifactDeployerRequest
- Throws:
ArtifactDeployerException
- if the deployment failed
-
deploy
default void deploy(@Nonnull Session session, @Nonnull RemoteRepository repository, @Nonnull Collection<ProducedArtifact> artifacts) - Parameters:
session
- the repository sessionrepository
- the repository to deploy toartifacts
- the collection of artifacts to deploy- Throws:
ArtifactDeployerException
- if the deployment failedIllegalArgumentException
- if an argument isnull
or invalid
-