ArtifactDeployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable@Component(role=ArtifactDeployer.class) public class DefaultArtifactDeployer extends java.lang.Object implements ArtifactDeployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Constructor | Description |
|---|---|
DefaultArtifactDeployer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
Injects the Plexus content.
|
void |
deploy(org.apache.maven.project.ProjectBuildingRequest request,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) |
|
void |
deploy(org.apache.maven.project.ProjectBuildingRequest request,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) |
|
protected static boolean |
isMaven31() |
public void deploy(org.apache.maven.project.ProjectBuildingRequest request,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
throws ArtifactDeployerException
deploy in interface ArtifactDeployerrequest - ProjectBuildingRequestmavenArtifacts - ArtifactArtifactDeployerException - in case of an error.public void deploy(org.apache.maven.project.ProjectBuildingRequest request,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
throws ArtifactDeployerException
deploy in interface ArtifactDeployerrequest - the building requestremoteRepository - the repository to deploy to. If null the mavenArtifact.getRepository() is
used.mavenArtifacts - the artifacts to deployArtifactDeployerException - in case of an error.protected 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.