Interface ArtifactInstaller

All Known Implementing Classes:
DefaultArtifactInstaller

public interface ArtifactInstaller
Author:
Michal Maczka
  • Field Summary

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

    Modifier and Type
    Method
    Description
    void
    install(File source, Artifact artifact, ArtifactRepository localRepository)
    Install an artifact from a particular file.
    void
    install(String basedir, String finalName, Artifact artifact, 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
  • Method Details

    • install

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

      void install(File source, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException
      Install an artifact from a particular file.
      Parameters:
      source - the file to install
      artifact - the artifact definition
      localRepository - the local repository to install into
      Throws:
      ArtifactInstallationException - if an error occurred installing the artifact