public abstract class AbstractFrontendMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.plugin.MojoExecution |
execution |
protected File |
installDirectory
The base directory for installing node and npm.
|
protected Boolean |
skipTests
Whether you should skip while running in the test phase (default is false)
|
protected File |
workingDirectory
The base directory for running all Node commands.
|
| Constructor and Description |
|---|
AbstractFrontendMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected abstract void |
execute(FrontendPluginFactory factory) |
protected abstract boolean |
skipExecution()
Implemented by children to determine if this execution should be skipped.
|
@Component protected org.apache.maven.plugin.MojoExecution execution
@Parameter(property="skipTests",
required=false,
defaultValue="false")
protected Boolean skipTests
@Parameter(defaultValue="${basedir}",
property="workingDirectory",
required=false)
protected File workingDirectory
@Parameter(property="installDirectory",
required=false)
protected File installDirectory
protected abstract void execute(FrontendPluginFactory factory) throws FrontendException
FrontendExceptionprotected abstract boolean skipExecution()
public void execute()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionCopyright © 2015. All Rights Reserved.