@Component(role=ArtifactDeployer.class, instantiationStrategy="per-lookup") public class DefaultArtifactDeployer extends AbstractLogEnabled implements ArtifactDeployer
ROLE| Constructor and Description |
|---|
DefaultArtifactDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(File source,
Artifact artifact,
ArtifactRepository deploymentRepository,
ArtifactRepository localRepository)
Deploy an artifact from a particular file.
|
void |
deploy(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.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic DefaultArtifactDeployer()
@Deprecated public void deploy(String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
ArtifactDeployerdeploy in interface ArtifactDeployerbasedir - the directory where the artifact is storedfinalName - the name of the artifact without extensionartifact - the artifact definitiondeploymentRepository - the repository to deploy tolocalRepository - the local repository to install intoArtifactDeploymentException - if an error occurred deploying the artifactpublic void deploy(File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
ArtifactDeployerdeploy in interface ArtifactDeployersource - the file to deployartifact - the artifact definitiondeploymentRepository - the repository to deploy tolocalRepository - the local repository to install intoArtifactDeploymentException - if an error occurred deploying the artifactCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.