ArtifactInstaller, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable@Component(role=ArtifactInstaller.class) public class DefaultArtifactInstaller extends java.lang.Object implements ArtifactInstaller, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Constructor | Description |
|---|---|
DefaultArtifactInstaller() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
Injects the Plexus content.
|
void |
install(org.apache.maven.project.ProjectBuildingRequest request,
java.io.File localRepositry,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) |
|
void |
install(org.apache.maven.project.ProjectBuildingRequest request,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) |
|
protected static boolean |
isMaven31() |
public void install(org.apache.maven.project.ProjectBuildingRequest request,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
throws ArtifactInstallerException
install in interface ArtifactInstallerrequest - ProjectBuildingRequestmavenArtifacts - ArtifactArtifactInstallerException - in case of an error.public void install(org.apache.maven.project.ProjectBuildingRequest request,
java.io.File localRepositry,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
throws ArtifactInstallerException
install in interface ArtifactInstallerArtifactInstallerExceptionprotected static boolean isMaven31()
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizablecontext - Plexus context to inject.org.codehaus.plexus.context.ContextException - if the PlexusContainer could not be located.