Interface ArtifactDeployer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deploy​(org.apache.maven.project.ProjectBuildingRequest request, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)  
      void deploy​(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 - ProjectBuildingRequest
        mavenArtifacts - Artifact
        Throws:
        ArtifactDeployerException - in case of an error.
        java.lang.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,
                    java.util.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.
        java.lang.IllegalArgumentException - in case of parameter request is null or parameter mavenArtifacts is null or mavenArtifacts.isEmpty() is true.