Class Maven31ArtifactDeployer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.aether.RepositorySystem repositorySystem  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deploy​(org.apache.maven.project.ProjectBuildingRequest buildingRequest, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)  
      void deploy​(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
      private org.eclipse.aether.repository.RemoteRepository getRemoteRepository​(org.eclipse.aether.RepositorySystemSession session, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • repositorySystem

        @Requirement
        private org.eclipse.aether.RepositorySystem repositorySystem
    • Constructor Detail

      • Maven31ArtifactDeployer

        Maven31ArtifactDeployer()
    • Method Detail

      • deploy

        public void deploy​(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
                           java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
                    throws ArtifactDeployerException
        Specified by:
        deploy in interface ArtifactDeployer
        Parameters:
        buildingRequest - ProjectBuildingRequest
        mavenArtifacts - Artifact
        Throws:
        ArtifactDeployerException - in case of an error.
      • deploy

        public void deploy​(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
                           org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
                           java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
                    throws ArtifactDeployerException
        Specified by:
        deploy in interface ArtifactDeployer
        Parameters:
        buildingRequest - 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.
      • getRemoteRepository

        private org.eclipse.aether.repository.RemoteRepository getRemoteRepository​(org.eclipse.aether.RepositorySystemSession session,
                                                                                   org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)
                                                                            throws ArtifactDeployerException
        Throws:
        ArtifactDeployerException