|
||||||||||
| 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
com.google.code.mojo.license.LicenseCheckMojo
public final class LicenseCheckMojo
Check if the source files of the project have a valid license header
| Field Summary | |
|---|---|
protected boolean |
failIfMissing
Whether to fail the build if some file miss license header |
java.util.Collection<java.io.File> |
missingHeaders
|
| Fields inherited from class com.google.code.mojo.license.AbstractLicenseMojo |
|---|
aggregate, basedir, concurrencyFactor, encoding, excludes, header, headerDefinitions, includes, keywords, mapping, project, properties, quiet, skip, strictCheck, useDefaultExcludes, useDefaultMapping, validHeaders |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
LicenseCheckMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
| Methods inherited from class com.google.code.mojo.license.AbstractLicenseMojo |
|---|
debug, execute, info, listSelectedFiles, mergeProperties, warn |
| 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 |
|---|
protected boolean failIfMissing
public final java.util.Collection<java.io.File> missingHeaders
| Constructor Detail |
|---|
public LicenseCheckMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||