public interface ArtifactDeployer
Modifier and Type | Method and Description |
---|---|
void |
deploy(ProjectBuildingRequest request,
ArtifactRepository remoteRepository,
Collection<Artifact> mavenArtifacts) |
void |
deploy(ProjectBuildingRequest request,
Collection<Artifact> mavenArtifacts) |
void deploy(ProjectBuildingRequest request, Collection<Artifact> mavenArtifacts) throws ArtifactDeployerException
request
- ProjectBuildingRequest
mavenArtifacts
- Artifact
ArtifactDeployerException
- in case of an error.IllegalArgumentException
- in case of parameter request
is null
or parameter
mavenArtifacts
is null
or mavenArtifacts.isEmpty()
is
true
.void deploy(ProjectBuildingRequest request, ArtifactRepository remoteRepository, Collection<Artifact> mavenArtifacts) throws ArtifactDeployerException
request
- the building requestremoteRepository
- the repository to deploy to. If null
the mavenArtifact.getRepository()
is
used.mavenArtifacts
- the artifacts to deployArtifactDeployerException
- in case of an error.IllegalArgumentException
- in case of parameter request
is null
or parameter
mavenArtifacts
is null
or mavenArtifacts.isEmpty()
is
true
.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.