Interface ArtifactInstaller
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultArtifactInstaller
Installs
ProducedArtifacts to the local repository.- Since:
- 4.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidinstall(ArtifactInstallerRequest request) default voidinstall(Session session, Collection<ProducedArtifact> artifacts) default voidinstall(Session session, ProducedArtifact artifact)
-
Method Details
-
install
- Parameters:
request-ArtifactInstallerRequest- Throws:
ArtifactInstallerException- in case of an errorIllegalArgumentException- in caserequestisnull
-
install
- Parameters:
session- the repository sessionartifact- theProducedArtifactto install- Throws:
ArtifactInstallerException- in case of an error which can be a given artifact cannot be found or the installation has failedIllegalArgumentException- if a parametersessionisnullorartifactisnull
-
install
- Parameters:
session- the repository sessionartifacts- Collection ofMavenArtifacts- Throws:
ArtifactInstallerException- if the given artifact cannot be found or the installation has failedIllegalArgumentException- ifrequestisnullor parameterlocalRepositoryisnullorlocalRepositoryis not a directory or parametermavenArtifactsisnullormavenArtifacts.isEmpty()istrue.
-