Class DeployMojo

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

@Mojo(name="deploy",
      requiresProject=false)
public final class DeployMojo
extends AbstractPackagerMojo
Deploys a collection of Modules to the Maven repository location indicated by the given repositoryUrl property. Functionally, pretty much just like the Deploy Plugin's deploy-file goal, except this one works on a collection.

Refer to http://maven.apache.org/plugins/maven-deploy-plugin/deploy-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
      Deploy each of the provided Modules, along with their SubArtifacts (POMs, JavaDoc bundle, etc.), to the repository location indicated by repositoryUrl.
      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.