Class AbstractInhabitantsGeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
InhabitantsGeneratorMojo, TestInhabitantsGeneratorMojo

public abstract class AbstractInhabitantsGeneratorMojo extends org.apache.maven.plugin.AbstractMojo
Abstract Mojo for inhabitant generator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    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
    This method will compile the inhabitants file based on the classes just compiled
    protected abstract boolean
     
    protected abstract File
     
    protected boolean
     

    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

    • project

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

    • AbstractInhabitantsGeneratorMojo

      public AbstractInhabitantsGeneratorMojo()
  • Method Details

    • getNoSwap

      protected abstract boolean getNoSwap()
    • getOutputDirectory

      protected abstract File getOutputDirectory()
    • isWar

      protected boolean isWar()
    • execute

      public void execute() throws org.apache.maven.plugin.MojoFailureException
      This method will compile the inhabitants file based on the classes just compiled
      Throws:
      org.apache.maven.plugin.MojoFailureException