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

      @Parameter(property="project.build.directory") private File targetDirectory
    • project

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

      @Parameter private boolean verbose
    • includeDate

      @Parameter(defaultValue="true") private boolean includeDate
    • locator

      @Parameter private String locator
    • supportedProjectTypes

      @Parameter(property="supportedProjectTypes", defaultValue="jar,ejb,war") 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()