|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.google.code.mojo.license.AbstractLicenseMojo
public abstract class AbstractLicenseMojo
Date: 18-Feb-2008
Author: Mathieu Carbou (mathieu.carbou@gmail.com)
Field Summary | |
---|---|
protected boolean |
aggregate
Wheter to treat multi-modules projects as only one project (true) or treat multi-module projects separately (false, by default) |
protected java.io.File |
basedir
The base directory, in which to search for files. |
protected java.lang.String |
encoding
Set the charcter encoding for files |
protected java.lang.String[] |
excludes
Specifies files, which are excluded in the check. |
protected java.lang.String |
header
The text document containing the license header to check or use for reformatting |
protected java.lang.String[] |
headerDefinitions
Allows the use of external header definitions files. |
protected java.lang.String[] |
includes
Specifies files, which are included in the check. |
protected java.lang.String[] |
keywords
Specify the list of keywords to use to detect a header. |
protected java.util.Map<java.lang.String,java.lang.String> |
mapping
Set mapping between document mapping and a supported type to use |
protected org.apache.maven.project.MavenProject |
project
|
protected java.util.Map<java.lang.String,java.lang.String> |
properties
The properties to use when reading the header, to replace tokens |
protected boolean |
quiet
Set this to "true" to cause no output |
protected boolean |
skip
Whether to skip the plugin execution |
protected boolean |
useDefaultExcludes
Whether to use the default excludes when scanning for files. |
protected boolean |
useDefaultMapping
Whether to use the default mapping between fiel extensions and comments to use, or only the one your provide |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractLicenseMojo()
|
Method Summary | |
---|---|
protected void |
debug(java.lang.String format,
java.lang.Object... params)
|
protected void |
execute(Callback callback)
|
protected void |
info(java.lang.String format,
java.lang.Object... params)
|
protected java.util.Map<java.lang.String,java.lang.String> |
mergeProperties()
|
protected Document[] |
selectedDocuments()
|
protected void |
warn(java.lang.String format,
java.lang.Object... params)
|
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected java.io.File basedir
protected java.lang.String header
protected java.lang.String[] headerDefinitions
protected java.util.Map<java.lang.String,java.lang.String> properties
protected java.lang.String[] includes
protected java.lang.String[] excludes
protected java.lang.String[] keywords
protected boolean useDefaultExcludes
protected boolean aggregate
protected java.util.Map<java.lang.String,java.lang.String> mapping
protected boolean useDefaultMapping
protected boolean skip
protected boolean quiet
protected java.lang.String encoding
protected org.apache.maven.project.MavenProject project
Constructor Detail |
---|
public AbstractLicenseMojo()
Method Detail |
---|
protected final void execute(Callback callback) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected final java.util.Map<java.lang.String,java.lang.String> mergeProperties()
protected final Document[] selectedDocuments() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException
protected final void info(java.lang.String format, java.lang.Object... params)
protected final void debug(java.lang.String format, java.lang.Object... params)
protected final void warn(java.lang.String format, java.lang.Object... params)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |