public interface ArtifactInstaller
Modifier and Type | Method and Description |
---|---|
void |
install(File source,
Artifact artifact,
ArtifactRepository localRepository)
Install an artifact from a particular file.
|
void |
install(String basedir,
String finalName,
Artifact artifact,
ArtifactRepository localRepository)
Deprecated.
to be removed before 2.0 after the install/deploy plugins use the alternate
method
|
static final String ROLE
@Deprecated void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException
basedir
- the directory where the artifact is storedfinalName
- the name of the artifact sans extensionartifact
- the artifact definitionlocalRepository
- the local repository to install intoArtifactInstallationException
- if an error occurred installing the artifactvoid install(File source, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException
source
- the file to installartifact
- the artifact definitionlocalRepository
- the local repository to install intoArtifactInstallationException
- if an error occurred installing the artifactCopyright © 2001–2019 The Apache Software Foundation. All rights reserved.