Interface ArtifactDeployer
-
public interface ArtifactDeployer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeploy(org.apache.maven.project.ProjectBuildingRequest request, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)voiddeploy(org.apache.maven.project.ProjectBuildingRequest request, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
-
-
-
Method Detail
-
deploy
void deploy(org.apache.maven.project.ProjectBuildingRequest request, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) throws ArtifactDeployerException- Parameters:
request-ProjectBuildingRequestmavenArtifacts-Artifact- Throws:
ArtifactDeployerException- in case of an error.java.lang.IllegalArgumentException- in case of parameterrequestisnullor parametermavenArtifactsisnullormavenArtifacts.isEmpty()istrue.
-
deploy
void deploy(org.apache.maven.project.ProjectBuildingRequest request, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) throws ArtifactDeployerException- Parameters:
request- the building requestremoteRepository- the repository to deploy to. IfnullthemavenArtifact.getRepository()is used.mavenArtifacts- the artifacts to deploy- Throws:
ArtifactDeployerException- in case of an error.java.lang.IllegalArgumentException- in case of parameterrequestisnullor parametermavenArtifactsisnullormavenArtifacts.isEmpty()istrue.
-
-