Class MainIndexMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.sisu.mojos.MainIndexMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="main-index", defaultPhase=PROCESS_CLASSES, requiresDependencyResolution=COMPILE, threadSafe=true) public class MainIndexMojo extends org.apache.maven.plugin.AbstractMojo
Generates a qualified class index for classes compiled by the current project.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.sonatype.plexus.build.incremental.BuildContext
    For m2e incremental build support
    private org.apache.maven.project.MavenProject
    The Maven project to index.

    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 java.lang.Object

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

    • project

      @Parameter(property="project", required=true, readonly=true) private org.apache.maven.project.MavenProject project
      The Maven project to index.
    • buildContext

      @Component protected org.sonatype.plexus.build.incremental.BuildContext buildContext
      For m2e incremental build support
  • Constructor Details

    • MainIndexMojo

      public MainIndexMojo()
  • Method Details

    • execute

      public void execute()