Interface ArtifactDeployer
public interface ArtifactDeployer
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.apache.maven.project.ProjectBuildingRequest request, Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) voiddeploy(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-ProjectBuildingRequestmavenArtifacts-Artifact- Throws:
ArtifactDeployerException- in case of an error.IllegalArgumentException- in case of parameterrequestisnullor parametermavenArtifactsisnullormavenArtifacts.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. IfnullthemavenArtifact.getRepository()is used.mavenArtifacts- the artifacts to deploy- Throws:
ArtifactDeployerException- in case of an error.IllegalArgumentException- in case of parameterrequestisnullor parametermavenArtifactsisnullormavenArtifacts.isEmpty()istrue.
-