@Mojo(name="license-list",
requiresProject=false,
requiresDirectInvocation=true)
public class LicenseListMojo
extends AbstractLicenseMojo
| Constructor and Description |
|---|
LicenseListMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
Do plugin action.
|
protected void |
init()
Method to initialize the mojo before doing any concrete actions.
|
boolean |
isSkip()
When is sets to
true, will skip execution. |
acceptPackaging, addResourceDir, afterExecute, checkEncoding, checkPackaging, checkSkip, execute, getBuildTimestamp, getEncoding, getProject, getSession, hasClassPath, isSkipAll, isVerbose, rejectPackaging, setEncoding, setVerbosepublic boolean isSkip()
true, 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 executedprotected void init()
throws Exception
AbstractLicenseMojo.doAction() method.init in class AbstractLicenseMojoException - if anypublic void doAction()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
AbstractLicenseMojo.execute() invoke this method only and only if :
AbstractLicenseMojo.checkPackaging() returns true.AbstractLicenseMojo.init() returns true.doAction in class AbstractLicenseMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2010–2023. All rights reserved.