org.sonatype.plugins.sisu
Class IndexMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.sonatype.plugins.sisu.IndexMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class IndexMojo
extends org.apache.maven.plugin.AbstractMojo

Generates a qualified class index for the current project and its dependencies.


Field Summary
protected  String excludeArtifactIds
          Comma separated list of ArtifactIds to exclude when indexing.
protected  String excludeClassifiers
          Comma Separated list of Classifiers to exclude when indexing.
protected  String excludeGroupIds
          Comma separated list of GroupIds to exclude when indexing.
protected  String excludeScope
          Scope to exclude.
protected  boolean excludeTransitive
          If we should exclude transitive dependencies when indexing.
protected  String excludeTypes
          Comma Separated list of Types to exclude when indexing.
protected  String includeArtifactIds
          Comma separated list of ArtifactIds to include when indexing.
protected  String includeClassifiers
          Comma Separated list of Classifiers to include when indexing.
protected  boolean includeDependencies
          If we should include project dependencies when indexing.
protected  String includeGroupIds
          Comma separated list of GroupIds to include when indexing.
protected  String includeScope
          Scope to include.
protected  String includeTypes
          Comma Separated list of Types to include when indexing.
protected  File outputDirectory
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
IndexMojo()
           
 
Method Summary
 void execute()
           
 void setOutputDirectory(File outputDirectory)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 
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 Detail

outputDirectory

protected File outputDirectory

includeDependencies

protected boolean includeDependencies
If we should include project dependencies when indexing.


excludeGroupIds

protected String excludeGroupIds
Comma separated list of GroupIds to exclude when indexing.


includeGroupIds

protected String includeGroupIds
Comma separated list of GroupIds to include when indexing.


excludeArtifactIds

protected String excludeArtifactIds
Comma separated list of ArtifactIds to exclude when indexing.


includeArtifactIds

protected String includeArtifactIds
Comma separated list of ArtifactIds to include when indexing.


excludeClassifiers

protected String excludeClassifiers
Comma Separated list of Classifiers to exclude when indexing.


includeClassifiers

protected String includeClassifiers
Comma Separated list of Classifiers to include when indexing.


excludeTypes

protected String excludeTypes
Comma Separated list of Types to exclude when indexing.


includeTypes

protected String includeTypes
Comma Separated list of Types to include when indexing.


excludeScope

protected String excludeScope
Scope to exclude. Empty string indicates no scopes (default).


includeScope

protected String includeScope
Scope to include. Empty string indicates all scopes (default).


excludeTransitive

protected boolean excludeTransitive
If we should exclude transitive dependencies when indexing.

Constructor Detail

IndexMojo

public IndexMojo()
Method Detail

setProject

public void setProject(org.apache.maven.project.MavenProject project)

setOutputDirectory

public void setOutputDirectory(File outputDirectory)

execute

public void execute()


Copyright © 2011 Sonatype, Inc.. All Rights Reserved.