Class DownloadMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="download",
      requiresProject=false,
      requiresDirectInvocation=true)
public final class DownloadMojo
extends AbstractPackagerMojo
Downloads and unpacks a given distribution, but does not actually do anything with the resulting Maven artifacts.
  • Constructor Details

  • Method Details

    • doExecute

      public void doExecute​(Set<Module> artifacts) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Description copied from class: AbstractPackagerMojo
      The point where a subclass is able to manipulate the collection of artifacts prepared for it by this object's AbstractPackagerMojo.execute() method.
      Specified by:
      doExecute in class AbstractPackagerMojo
      Parameters:
      artifacts - A collection of Maven artifacts resulting from the download and preparation of a supported Isomorphic SDK.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - When any fatal error occurs. e.g., there is no distribution to work with.
      org.apache.maven.plugin.MojoFailureException - When any non-fatal error occurs. e.g., documentation cannot be copied to some other folder.