abstract class AbstractMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
private String |
logLevel
Log level of the Mojo logger.
|
private boolean |
useLogHandler
If true, try to redirect the NPM output to a log handler so it integrates nicely into maven output.
|
| Constructor and Description |
|---|
AbstractMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.apache.commons.exec.CommandLine |
getCommand(String name,
File home) |
protected static boolean |
isWindows() |
(package private) Level |
logLevel() |
protected static List<String> |
parseArgument(String argument)
Parse an argument as an arguments String, with respect to quoted ("") elements.
|
protected boolean |
useLogHandler()
Should we try to redirect the NPM output to a log handler so it integrates nicely into maven output ?
|
getLog, getPluginContext, setLog, setPluginContext@Parameter(property="log.handler",
defaultValue="true")
private boolean useLogHandler
@Parameter(property="log.level",
defaultValue="INFO")
private String logLevel
Level.parse(java.lang.String)Level logLevel()
protected boolean useLogHandler()
useLogHandlerprotected static boolean isWindows()
Copyright © 2020. All rights reserved.