Package org.eclipse.sisu.mojos
Class IndexMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.sisu.mojos.IndexMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="index", requiresDependencyResolution=TEST, threadSafe=true) public class IndexMojo extends org.apache.maven.plugin.AbstractMojoGenerates a qualified class index for the current project and its dependencies.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.sonatype.plexus.build.incremental.BuildContextbuildContextFor m2e incremental build supportprotected StringexcludeArtifactIdsComma separated list of ArtifactIds to exclude when indexing.protected StringexcludeClassifiersComma Separated list of Classifiers to exclude when indexing.protected StringexcludeGroupIdsComma separated list of GroupIds to exclude when indexing.protected StringexcludeScopeScope to exclude.protected booleanexcludeTransitiveIf we should exclude transitive dependencies when indexing.protected StringexcludeTypesComma Separated list of Types to exclude when indexing.protected StringincludeArtifactIdsComma separated list of ArtifactIds to include when indexing.protected StringincludeClassifiersComma Separated list of Classifiers to include when indexing.protected booleanincludeDependenciesIf we should include project dependencies when indexing.protected StringincludeGroupIdsComma separated list of GroupIds to include when indexing.protected StringincludeScopeScope to include.protected StringincludeTypesComma Separated list of Types to include when indexing.protected FileoutputDirectoryThe output directory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidsetOutputDirectory(File outputDirectory)voidsetProject(org.apache.maven.project.MavenProject project)
-
-
-
Field Detail
-
outputDirectory
@Parameter(property="outputDirectory", defaultValue="${project.build.outputDirectory}") protected File outputDirectoryThe output directory.
-
includeDependencies
@Parameter(property="includeDependencies", defaultValue="true") protected boolean includeDependenciesIf we should include project dependencies when indexing.
-
excludeGroupIds
@Parameter(property="excludeGroupIds", defaultValue="") protected String excludeGroupIdsComma separated list of GroupIds to exclude when indexing.
-
includeGroupIds
@Parameter(property="includeGroupIds", defaultValue="") protected String includeGroupIdsComma separated list of GroupIds to include when indexing.
-
excludeArtifactIds
@Parameter(property="excludeArtifactIds", defaultValue="") protected String excludeArtifactIdsComma separated list of ArtifactIds to exclude when indexing.
-
includeArtifactIds
@Parameter(property="includeArtifactIds", defaultValue="") protected String includeArtifactIdsComma separated list of ArtifactIds to include when indexing.
-
excludeClassifiers
@Parameter(property="excludeClassifiers", defaultValue="") protected String excludeClassifiersComma Separated list of Classifiers to exclude when indexing.
-
includeClassifiers
@Parameter(property="includeClassifiers", defaultValue="") protected String includeClassifiersComma Separated list of Classifiers to include when indexing.
-
excludeTypes
@Parameter(property="excludeTypes", defaultValue="") protected String excludeTypesComma Separated list of Types to exclude when indexing.
-
includeTypes
@Parameter(property="includeTypes", defaultValue="") protected String includeTypesComma Separated list of Types to include when indexing.
-
excludeScope
@Parameter(property="excludeScope", defaultValue="") protected String excludeScopeScope to exclude. Empty string indicates no scopes (default).
-
includeScope
@Parameter(property="includeScope", defaultValue="") protected String includeScopeScope to include. Empty string indicates all scopes (default).
-
excludeTransitive
@Parameter(property="excludeTransitive", defaultValue="false") protected boolean excludeTransitiveIf we should exclude transitive dependencies when indexing.
-
buildContext
@Component protected org.sonatype.plexus.build.incremental.BuildContext buildContext
For m2e incremental build support
-
-
Method Detail
-
setProject
public void setProject(org.apache.maven.project.MavenProject project)
-
setOutputDirectory
public void setOutputDirectory(File outputDirectory)
-
execute
public void execute()
-
-