Class InstallMojo

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

@Mojo(name="install",
      requiresProject=false)
public final class InstallMojo
extends AbstractPackagerMojo
Installs a collection of Modules to the user's local repository. Functionally, pretty much just like the Install Plugin's install-file goal, except this one works on a collection.

Refer to http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

  • Constructor Details

  • Method Details

    • doExecute

      public void doExecute​(Set<Module> artifacts) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Install each of the provided Modules, along with their SubArtifacts (POMs, JavaDoc bundle, etc.), to a local repository.
      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.