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 Details

    • WAR_PACKAGING

      private static final String WAR_PACKAGING
      See Also:
    • WEB_INF

      private static final String WEB_INF
      See Also:
    • CLASSES

      private static final String CLASSES
      See Also:
    • targetDirectory

      private File targetDirectory
    • project

      protected org.apache.maven.project.MavenProject project
      The maven project.
    • verbose

      private boolean verbose
    • includeDate

      private boolean includeDate
    • locator

      private String locator
    • supportedProjectTypes

      private String supportedProjectTypes
  • 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
    • getBuildClasspath

      private String getBuildClasspath()