Interface ArtifactDeferrer

All Known Implementing Classes:
ArtifactDeferrerImpl

public interface ArtifactDeferrer
Interface for deferring artifact installation and deployment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deployUp(org.apache.maven.execution.MavenSession mavenSession, File sourceDirectory, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)
    Deploy artifact.
    void
    install(DeferArtifactRequest artifactWithFiles)
    Install artifact with files.
  • Method Details

    • install

      void install(DeferArtifactRequest artifactWithFiles) throws org.apache.maven.artifact.installer.ArtifactInstallationException, org.apache.maven.plugin.MojoExecutionException
      Install artifact with files.
      Parameters:
      artifactWithFiles - artifact with files to install
      Throws:
      org.apache.maven.artifact.installer.ArtifactInstallationException - if installation fails
      org.apache.maven.plugin.MojoExecutionException - if execution fails
    • deployUp

      void deployUp(org.apache.maven.execution.MavenSession mavenSession, File sourceDirectory, org.apache.maven.artifact.repository.ArtifactRepository remoteRepository) throws org.apache.maven.artifact.deployer.ArtifactDeploymentException, IOException
      Deploy artifact.
      Parameters:
      mavenSession - - MavenSession
      sourceDirectory - - File
      remoteRepository - - ArtifactRepository
      Throws:
      org.apache.maven.artifact.deployer.ArtifactDeploymentException - if deployment fails
      IOException - if reading of index fails