Class AttachArtifactMojo

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

@Mojo(name="attach-artifact", defaultPhase=PACKAGE, threadSafe=true) public class AttachArtifactMojo extends org.apache.maven.plugin.AbstractMojo
Attach additional artifacts to be installed and deployed.
Since:
1.0
Author:
Dan T. Tran
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    AttachArtifactMojo(org.apache.maven.project.MavenProjectHelper projectHelper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttachArtifactMojo

      @Inject public AttachArtifactMojo(org.apache.maven.project.MavenProjectHelper projectHelper)
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException