Interface ArtifactDeployer

All Known Implementing Classes:
DefaultArtifactDeployer

@Deprecated public interface ArtifactDeployer
Deprecated.
ArtifactDeployer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deploy(File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository)
    Deprecated.
    Deploy an artifact from a particular file.
    void
    deploy(String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository)
    Deprecated.
    to be removed before 2.0 after the install/deploy plugins use the alternate method
  • Field Details

    • ROLE

      static final String ROLE
      Deprecated.
  • Method Details

    • deploy

      @Deprecated void deploy(String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
      Deprecated.
      to be removed before 2.0 after the install/deploy plugins use the alternate method
      Deploy 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 stored
      finalName - the name of the artifact without extension
      artifact - the artifact definition
      deploymentRepository - the repository to deploy to
      localRepository - the local repository to install into
      Throws:
      ArtifactDeploymentException - if an error occurred deploying the artifact
    • deploy

      void deploy(File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
      Deprecated.
      Deploy an artifact from a particular file.
      Parameters:
      source - the file to deploy
      artifact - the artifact definition
      deploymentRepository - the repository to deploy to
      localRepository - the local repository to install into
      Throws:
      ArtifactDeploymentException - if an error occurred deploying the artifact