Interface ArtifactDeployer


public interface ArtifactDeployer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 parameter request is null or parameter mavenArtifacts is null or mavenArtifacts.isEmpty() is true.
    • 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 request
      remoteRepository - the repository to deploy to. If null the mavenArtifact.getRepository() is used.
      mavenArtifacts - the artifacts to deploy
      Throws:
      ArtifactDeployerException - in case of an error.
      IllegalArgumentException - in case of parameter request is null or parameter mavenArtifacts is null or mavenArtifacts.isEmpty() is true.