@Component(role=ArtifactInstaller.class, hint="maven31") public class Maven31ArtifactInstaller extends Object implements ArtifactInstaller
Constructor and Description |
---|
Maven31ArtifactInstaller() |
Modifier and Type | Method and Description |
---|---|
void |
install(ProjectBuildingRequest buildingRequest,
Collection<Artifact> mavenArtifacts) |
void |
install(ProjectBuildingRequest buildingRequest,
File localRepository,
Collection<Artifact> mavenArtifacts) |
public void install(ProjectBuildingRequest buildingRequest, Collection<Artifact> mavenArtifacts) throws ArtifactInstallerException
install
in interface ArtifactInstaller
buildingRequest
- ProjectBuildingRequest
mavenArtifacts
- Artifact
ArtifactInstallerException
- in case of an error.public void install(ProjectBuildingRequest buildingRequest, File localRepository, Collection<Artifact> mavenArtifacts) throws ArtifactInstallerException
install
in interface ArtifactInstaller
buildingRequest
- ProjectBuildingRequest
.localRepository
- The location for the local repository.mavenArtifacts
- Collection of MavenArtifacts
ArtifactInstallerException
- In case of an error which can be the a given artifact can not be found or the
installation has failed.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.