public abstract class AbstractExecutableMojo extends BaseMavenGruntMojo
cmd /C.
| Modifier and Type | Field and Description |
|---|---|
protected String |
execMavenPluginVersion
Version of exec plugin to use (defaults to 1.2.1).
|
protected boolean |
showColors
Should npm/grunt print colors in output (default to false).
|
gruntBuildDirectory, jsSourceDirectory, npmOfflineModulesFile, npmOfflineModulesFilePath, sourceDirectory, warTargetDirectory| Constructor and Description |
|---|
AbstractExecutableMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T[] |
concat(T[] array1,
T... array2)
Don't want to use any dependencies like Apache Commons - sorry.
|
void |
executeInternal() |
protected abstract List<Executable> |
getExecutables()
Return executable form maven exec
|
basedir, execute, fullJsSourceDirectory, pluginExecutionEnvironment, relativeJsSourceDirectory, target@Parameter(property="showColors",
defaultValue="false")
protected boolean showColors
@Parameter(property="execMavenPluginVersion",
defaultValue="1.2.1")
protected String execMavenPluginVersion
public void executeInternal()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
executeInternal in class BaseMavenGruntMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected <T> T[] concat(T[] array1,
T... array2)
T - type of array entriesarray1 - first arrayarray2 - second arrayprotected abstract List<Executable> getExecutables()
executable element, return executable name for *nix OS, not Windows!
Copyright © 2015. All Rights Reserved.