Class DefaultArtifactInstaller
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.artifact.installer.DefaultArtifactInstaller
- All Implemented Interfaces:
- ArtifactInstaller,- org.codehaus.plexus.logging.LogEnabled
@Named
@Singleton
@Deprecated
public class DefaultArtifactInstaller
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArtifactInstaller
Deprecated.
- 
Field SummaryFields inherited from interface org.apache.maven.artifact.installer.ArtifactInstallerROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinstall(File source, Artifact artifact, ArtifactRepository localRepository) Deprecated.Install an artifact from a particular file.voidinstall(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository) Deprecated.we want to use the artifact method only, and ensure artifact.file is set correctly.Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Constructor Details- 
DefaultArtifactInstallerpublic DefaultArtifactInstaller()Deprecated.
 
- 
- 
Method Details- 
install@Deprecated public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException Deprecated.we want to use the artifact method only, and ensure artifact.file is set correctly.Description copied from interface:ArtifactInstallerInstall an artifact from a particular directory. The artifact handler is used to determine the filename of the source file.- Specified by:
- installin interface- ArtifactInstaller
- Parameters:
- basedir- the directory where the artifact is stored
- finalName- the name of the artifact sans extension
- artifact- the artifact definition
- localRepository- the local repository to install into
- Throws:
- ArtifactInstallationException- if an error occurred installing the artifact
 
- 
installpublic void install(File source, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException Deprecated.Description copied from interface:ArtifactInstallerInstall an artifact from a particular file.- Specified by:
- installin interface- ArtifactInstaller
- Parameters:
- source- the file to install
- artifact- the artifact definition
- localRepository- the local repository to install into
- Throws:
- ArtifactInstallationException- if an error occurred installing the artifact
 
 
-