Package org.apache.maven.api.services
Interface ArtifactDeployer
- All Superinterfaces:
Service
Deploys
Artifact
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<Artifact> 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<Artifact> 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
-