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
@Named
@Deprecated
public class DefaultArtifactDeployer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArtifactDeployer
Deprecated.
DefaultArtifactDeployer
-
Field Summary
Fields inherited from interface ArtifactDeployer
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.ArtifactRepository localRepository) Deprecated.Deploy an artifact from a particular file.voiddeploy(String basedir, String finalName, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.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.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
DefaultArtifactDeployer
public DefaultArtifactDeployer()Deprecated.
-
-
Method Details
-
deploy
@Deprecated public void deploy(String basedir, String finalName, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.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 interfaceArtifactDeployer- Parameters:
basedir- 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 into- Throws:
ArtifactDeploymentException- if an error occurred deploying the artifact
-
deploy
public void deploy(File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.ArtifactRepository localRepository) throws ArtifactDeploymentException Deprecated.Description copied from interface:ArtifactDeployerDeploy an artifact from a particular file.- Specified by:
deployin interfaceArtifactDeployer- 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
-