Class Maven31ArtifactInstaller

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void install​(org.apache.maven.project.ProjectBuildingRequest buildingRequest, java.io.File localRepository, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)  
      void install​(org.apache.maven.project.ProjectBuildingRequest buildingRequest, java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)  
      • 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

      • Maven31ArtifactInstaller

        Maven31ArtifactInstaller()
    • Method Detail

      • install

        public void install​(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
                            java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
                     throws ArtifactInstallerException
        Specified by:
        install in interface ArtifactInstaller
        Parameters:
        buildingRequest - ProjectBuildingRequest
        mavenArtifacts - Artifact (no null or empty collection allowed.)
        Throws:
        ArtifactInstallerException - in case of an error.
      • install

        public void install​(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
                            java.io.File localRepository,
                            java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
                     throws ArtifactInstallerException
        Specified by:
        install in interface ArtifactInstaller
        Parameters:
        buildingRequest - ProjectBuildingRequest.
        localRepository - The location for the local repository.
        mavenArtifacts - Collection of MavenArtifacts
        Throws:
        ArtifactInstallerException - In case of an error which can be the a given artifact can not be found or the installation has failed.