Interface ArtifactDeployer
public interface ArtifactDeployer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(org.apache.maven.project.ProjectBuildingRequest request, Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) void
deploy
(org.apache.maven.project.ProjectBuildingRequest request, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository, Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
-
Method Details
-
deploy
void deploy(org.apache.maven.project.ProjectBuildingRequest request, Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) throws ArtifactDeployerException - Parameters:
request
-ProjectBuildingRequest
mavenArtifacts
-Artifact
- Throws:
ArtifactDeployerException
- in case of an error.IllegalArgumentException
- in case of parameterrequest
isnull
or parametermavenArtifacts
isnull
ormavenArtifacts.isEmpty()
istrue
.
-
deploy
void deploy(org.apache.maven.project.ProjectBuildingRequest request, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository, Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) throws ArtifactDeployerException - Parameters:
request
- the building requestremoteRepository
- the repository to deploy to. Ifnull
themavenArtifact.getRepository()
is used.mavenArtifacts
- the artifacts to deploy- Throws:
ArtifactDeployerException
- in case of an error.IllegalArgumentException
- in case of parameterrequest
isnull
or parametermavenArtifacts
isnull
ormavenArtifacts.isEmpty()
istrue
.
-