public abstract class AbstractFrontendMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
installDirectory
The base directory for installing node and npm.
|
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 |
isSkipped() |
@Parameter(defaultValue="${basedir}",
property="workingDirectory",
required=false)
protected File workingDirectory
@Parameter(defaultValue="${basedir}",
property="installDirectory",
required=false)
protected File installDirectory
protected abstract void execute(FrontendPluginFactory factory) throws FrontendException
FrontendExceptionprotected abstract boolean isSkipped()
public void execute()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionCopyright © 2015. All Rights Reserved.