Package com.google.code.mojo.license
Class LicenseCheckMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.google.code.mojo.license.AbstractLicenseMojo
-
- com.google.code.mojo.license.LicenseCheckMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
public final class LicenseCheckMojo extends AbstractLicenseMojo
Check if the source files of the project have a valid license header
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
failIfMissing
Whether to fail the build if some file miss license headerjava.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
-
-
Constructor Summary
Constructors Constructor Description LicenseCheckMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class com.google.code.mojo.license.AbstractLicenseMojo
debug, execute, info, listSelectedFiles, mergeProperties, warn
-
-