Class HK2GenerateMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.sun.enterprise.module.maven.HK2GenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="hk2-generate", defaultPhase=PREPARE_PACKAGE, requiresProject=true, requiresDependencyResolution=COMPILE) public class HK2GenerateMojo extends org.apache.maven.plugin.AbstractMojo
Generates a consolidated OSGI bundle with a consolidated HK2 header
Author:
Sivakumar Thyagarajan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected File
    Directory where the manifest will be written
    protected org.apache.maven.project.MavenProject
    The maven project.

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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
  • Field Details

    • manifestLocation

      @Parameter(property="manifestLocation", defaultValue="${project.build.outputDirectory}") protected File manifestLocation
      Directory where the manifest will be written
    • project

      @Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
      The maven project.
  • Constructor Details

    • HK2GenerateMojo

      public HK2GenerateMojo()
  • Method Details

    • execute

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