@Mojo(name="remove-file-header",
threadSafe=true)
public class RemoveFileHeaderMojo
extends AbstractLicenseNameMojo
copyrightOwners, DEFAULT_EXCLUDES, DEFAULT_INCLUDES, DEFAULT_ROOTS, extraTemplateParameters, inceptionYear, organizationName, projectName| Constructor and Description |
|---|
RemoveFileHeaderMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
Do plugin action.
|
void |
init()
Method to initialize the mojo before doing any concrete actions.
|
boolean |
isSkip()
When is sets to
true, will skip execution. |
getCopyrightOwners, getLicense, getLicense, getLicenseName, isKeepBackup, processLicenseContextacceptPackaging, addResourceDir, afterExecute, checkEncoding, checkPackaging, checkSkip, execute, getBuildTimestamp, getEncoding, getProject, getSession, hasClassPath, isVerbose, rejectPackaging, setEncoding, setVerbosepublic boolean isSkip()
AbstractLicenseMojotrue, will skip execution.
This will take effect in at the very begin of the AbstractLicenseMojo.execute()
before any initialisation of goal.isSkip in class AbstractLicenseMojotrue if goal will not be executedpublic void init()
throws Exception
AbstractLicenseNameMojoAbstractLicenseMojo.doAction() method.init in class AbstractLicenseNameMojoException - if anypublic void doAction()
throws Exception
AbstractLicenseMojoAbstractLicenseMojo.execute() invoke this method only and only if :
AbstractLicenseMojo.checkPackaging() returns true.AbstractLicenseMojo.init() returns true.doAction in class AbstractLicenseMojoException - if anyCopyright © 2010–2019 MojoHaus. All rights reserved.