Class DefaultArtifactDeployer
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.artifact.deployer.DefaultArtifactDeployer
- All Implemented Interfaces:
- ArtifactDeployer,- org.codehaus.plexus.logging.LogEnabled
@Component(role=ArtifactDeployer.class,
           instantiationStrategy="per-lookup")
public class DefaultArtifactDeployer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArtifactDeployer
DefaultArtifactDeployer
- 
Field SummaryFields inherited from interface org.apache.maven.artifact.deployer.ArtifactDeployerROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeploy(File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) Deploy an artifact from a particular file.voiddeploy(String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, 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- 
DefaultArtifactDeployerpublic DefaultArtifactDeployer()
 
- 
- 
Method Details- 
deploy@Deprecated public void deploy(String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException Deprecated.we want to use the artifact method only, and ensure artifact.file is set correctly.Description copied from interface:ArtifactDeployerDeploy an artifact from a particular directory. The artifact handler is used to determine the filename of the source file.- Specified by:
- deployin interface- ArtifactDeployer
- Parameters:
- basedir- the directory where the artifact is stored
- finalName- the name of the artifact without extension
- artifact- the artifact definition
- deploymentRepository- the repository to deploy to
- localRepository- the local repository to install into
- Throws:
- ArtifactDeploymentException- if an error occurred deploying the artifact
 
- 
deploypublic void deploy(File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException Description copied from interface:ArtifactDeployerDeploy an artifact from a particular file.- Specified by:
- deployin interface- ArtifactDeployer
- Parameters:
- source- the file to deploy
- artifact- the artifact definition
- deploymentRepository- the repository to deploy to
- localRepository- the local repository to install into
- Throws:
- ArtifactDeploymentException- if an error occurred deploying the artifact
 
 
-