org.apache.maven.artifact.deployer
public interface ArtifactDeployer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
void |
deploy(java.io.File source,
Artifact artifact,
ArtifactRepository deploymentRepository,
ArtifactRepository localRepository)
Deploy an artifact from a particular file.
|
void |
deploy(java.lang.String basedir,
java.lang.String finalName,
Artifact artifact,
ArtifactRepository deploymentRepository,
ArtifactRepository localRepository)
Deprecated.
to be removed before 2.0 after the instlal/deploy plugins use the alternate method
|
void deploy(java.lang.String basedir, java.lang.String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
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 intoArtifactDeploymentException
- if an error occurred deploying the artifactvoid deploy(java.io.File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
source
- the file to deployartifact
- the artifact definitiondeploymentRepository
- the repository to deploy tolocalRepository
- the local repository to install intoArtifactDeploymentException
- if an error occurred deploying the artifact