Package com.google.code.mojo.license
Class LicenseFormatMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.google.code.mojo.license.AbstractLicenseMojo
-
- com.google.code.mojo.license.LicenseFormatMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
public final class LicenseFormatMojo extends AbstractLicenseMojo
Reformat files with a missing header to add it- Author:
- Mathieu Carbou (mathieu.carbou@gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
dryRun
Wheter to treat multi-modules projects as only one project (true) or treat multi-module projects separately (false, by default)protected boolean
skipExistingHeaders
Wheter to skip file where a header has been detected-
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 LicenseFormatMojo()
-
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
-
-