org.apache.maven.artifact.deployer
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
public class DefaultArtifactDeployer
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ArtifactDeployer
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultArtifactDeployer
public DefaultArtifactDeployer()
deploy
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:
ArtifactDeployer
- Deploy an artifact from a particular directory. The artifact handler is used to determine the filename
of the source file.
- Specified by:
deploy
in interface ArtifactDeployer
- Parameters:
basedir
- the directory where the artifact is storedfinalName
- the name of the artifact sans extensionartifact
- the artifact definitiondeploymentRepository
- the repository to deploy tolocalRepository
- the local repository to install into
- Throws:
ArtifactDeploymentException
- if an error occurred deploying the artifact
deploy
public void deploy(File source,
Artifact artifact,
ArtifactRepository deploymentRepository,
ArtifactRepository localRepository)
throws ArtifactDeploymentException
- Description copied from interface:
ArtifactDeployer
- Deploy an artifact from a particular file.
- Specified by:
deploy
in interface ArtifactDeployer
- Parameters:
source
- the file to deployartifact
- the artifact definitiondeploymentRepository
- the repository to deploy tolocalRepository
- the local repository to install into
- Throws:
ArtifactDeploymentException
- if an error occurred deploying the artifact
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.