@Mojo(name="index",
requiresDependencyResolution=TEST,
threadSafe=true)
public class IndexMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
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
The output directory.
|
| Constructor and Description |
|---|
IndexMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setOutputDirectory(File outputDirectory) |
void |
setProject(org.apache.maven.project.MavenProject project) |
@Parameter(property="outputDirectory",
defaultValue="${project.build.outputDirectory}")
protected File outputDirectory
@Parameter(property="includeDependencies",
defaultValue="true")
protected boolean includeDependencies
@Parameter(property="excludeGroupIds",
defaultValue="")
protected String excludeGroupIds
@Parameter(property="includeGroupIds",
defaultValue="")
protected String includeGroupIds
@Parameter(property="excludeArtifactIds",
defaultValue="")
protected String excludeArtifactIds
@Parameter(property="includeArtifactIds",
defaultValue="")
protected String includeArtifactIds
@Parameter(property="excludeClassifiers",
defaultValue="")
protected String excludeClassifiers
@Parameter(property="includeClassifiers",
defaultValue="")
protected String includeClassifiers
@Parameter(property="excludeTypes",
defaultValue="")
protected String excludeTypes
@Parameter(property="includeTypes",
defaultValue="")
protected String includeTypes
@Parameter(property="excludeScope",
defaultValue="")
protected String excludeScope
@Parameter(property="includeScope",
defaultValue="")
protected String includeScope
@Parameter(property="excludeTransitive",
defaultValue="false")
protected boolean excludeTransitive
public void setProject(org.apache.maven.project.MavenProject project)
public void setOutputDirectory(File outputDirectory)
public void execute()
Copyright © 2010–2015 The Eclipse Foundation. All rights reserved.