Package org.apache.maven.api.services
Interface ArtifactDeployer
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultArtifactDeployer
Deploys
Artifacts to a RemoteRepository.- Since:
- 4.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(ArtifactDeployerRequest request) default voiddeploy(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 isnullor invalid
-