public class JandexGoal
extends java.lang.Object
implements org.apache.maven.plugin.Mojo
Modifier and Type | Field and Description |
---|---|
private java.io.File |
classesDir
By default, process the classes compiled for the project.
|
private java.util.List<FileSet> |
fileSets
Process the classes found in these file-sets, after considering the specified includes and excludes, if any.
|
private java.lang.String |
indexName
The name of the index file.
|
private org.apache.maven.plugin.logging.Log |
log |
private boolean |
processDefaultFileSet
If true, construct an implied file-set using the target/classes directory, and process the classes there.
|
private boolean |
skip
Skip execution if set.
|
private boolean |
verbose
Print verbose output (debug output without needing to enable -X for the whole build)
|
Constructor and Description |
---|
JandexGoal() |
Modifier and Type | Method and Description |
---|---|
private boolean |
doVerbose() |
void |
execute() |
java.lang.String |
getIndexName() |
org.apache.maven.plugin.logging.Log |
getLog() |
boolean |
isSkip() |
boolean |
isVerbose() |
void |
setIndexName(java.lang.String indexName) |
void |
setLog(org.apache.maven.plugin.logging.Log log) |
void |
setSkip(boolean skip) |
void |
setVerbose(boolean verbose) |
private java.io.File classesDir
private java.util.List<FileSet> fileSets
<fileSets>
<fileSet>
<directory>path-or-expression</directory>
<includes>
<include>some/thing/*.good</include>
<includes>
<excludes>
<exclude>some/thing/*.bad</exclude>
</excludes<
</fileSet>
</fileSets>
private final boolean processDefaultFileSet
private boolean verbose
private java.lang.String indexName
private boolean skip
private org.apache.maven.plugin.logging.Log log
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
private boolean doVerbose()
public boolean isVerbose()
public void setVerbose(boolean verbose)
public boolean isSkip()
public void setSkip(boolean skip)
public void setLog(org.apache.maven.plugin.logging.Log log)
setLog
in interface org.apache.maven.plugin.Mojo
public org.apache.maven.plugin.logging.Log getLog()
getLog
in interface org.apache.maven.plugin.Mojo
public java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)