@Component(role=ArtifactInstaller.class) public class DefaultArtifactInstaller extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArtifactInstaller
ROLE| Constructor and Description |
|---|
DefaultArtifactInstaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
install(java.io.File source,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Install an artifact from a particular file.
|
void |
install(java.lang.String basedir,
java.lang.String finalName,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Deprecated.
we want to use the artifact method only, and ensure artifact.file is set correctly.
|
@Deprecated
public void install(java.lang.String basedir,
java.lang.String finalName,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws ArtifactInstallationException
ArtifactInstallerinstall in interface ArtifactInstallerbasedir - 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 artifactpublic void install(java.io.File source,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws ArtifactInstallationException
ArtifactInstallerinstall in interface ArtifactInstallersource - the file to installartifact - the artifact definitionlocalRepository - the local repository to install intoArtifactInstallationException - if an error occurred installing the artifact