public interface ArtifactInstaller
| Modifier and Type | Method and Description |
|---|---|
void |
install(ProjectBuildingRequest request,
Collection<Artifact> mavenArtifacts) |
void |
install(ProjectBuildingRequest request,
File localRepository,
Collection<Artifact> mavenArtifacts) |
void install(ProjectBuildingRequest request, Collection<Artifact> mavenArtifacts) throws ArtifactInstallerException, IllegalArgumentException
request - ProjectBuildingRequestmavenArtifacts - Artifact (no null or empty collection allowed.)ArtifactInstallerException - in case of an error.IllegalArgumentException - in case request is null, mavenArtifacts
is null or mavenArtifacts is empty (mavenArtifacts.isEmpty()
== true).void install(ProjectBuildingRequest request, File localRepository, Collection<Artifact> mavenArtifacts) throws ArtifactInstallerException
request - ProjectBuildingRequest.localRepository - The location for the local repository.mavenArtifacts - Collection of MavenArtifactsArtifactInstallerException - In case of an error which can be the a given artifact can not be found or the
installation has failed.IllegalArgumentException - in case of parameter request is null or parameter
localRepository is null or localRepository is not a directory
or parameter mavenArtifacts is null or
mavenArtifacts.isEmpty() is true.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.