Interface ArtifactDeployer
-
- All Known Implementing Classes:
DefaultArtifactDeployer
public interface ArtifactDeployerArtifactDeployer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringROLE
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voiddeploy(java.io.File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.ArtifactRepository localRepository)Deploy an artifact from a particular file.voiddeploy(java.lang.String basedir, java.lang.String finalName, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.ArtifactRepository localRepository)Deprecated.to be removed before 2.0 after the install/deploy plugins use the alternate method
-
-
-
Method Detail
-
deploy
@Deprecated void deploy(java.lang.String basedir, java.lang.String finalName, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.ArtifactRepository localRepository) throws ArtifactDeploymentExceptionDeprecated.to be removed before 2.0 after the install/deploy plugins use the alternate methodDeploy an artifact from a particular directory. The artifact handler is used to determine the filename of the source file.- 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
void deploy(java.io.File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.ArtifactRepository localRepository) throws ArtifactDeploymentExceptionDeploy an artifact from a particular file.- 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
-
-