Interface ArtifactInstaller
-
- All Known Implementing Classes:
DefaultArtifactInstaller
public interface ArtifactInstaller- Version:
- $Id: ArtifactInstaller.java 495147 2007-01-11 07:47:53Z jvanzyl $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringROLE
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidinstall(java.io.File source, Artifact artifact, ArtifactRepository localRepository)Install an artifact from a particular file.voidinstall(java.lang.String basedir, java.lang.String finalName, Artifact artifact, ArtifactRepository localRepository)Deprecated.to be removed before 2.0 after the instlal/deploy plugins use the alternate method
-
-
-
Method Detail
-
install
void install(java.lang.String basedir, java.lang.String finalName, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationExceptionDeprecated.to be removed before 2.0 after the instlal/deploy plugins use the alternate methodInstall an artifact from a particular directory. The artifact handler is used to determine the filename of the source file.- Parameters:
basedir- the directory where the artifact is storedfinalName- the name of the artifact sans extensionartifact- the artifact definitionlocalRepository- the local repository to install into- Throws:
ArtifactInstallationException- if an error occurred installing the artifact
-
install
void install(java.io.File source, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationExceptionInstall an artifact from a particular file.- Parameters:
source- the file to installartifact- the artifact definitionlocalRepository- the local repository to install into- Throws:
ArtifactInstallationException- if an error occurred installing the artifact
-
-