Class ComposeExecuteGoal
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.honton.chas.compose.maven.plugin.ComposeGoal
org.honton.chas.compose.maven.plugin.ComposeExecuteGoal
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ComposeProjectGoal
Execute Compose
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddComposeOptions(CommandBuilder builder) protected CommandBuildercreateBuilder(String subCommand) protected voidprotected voidpostComposeCommand(String exitMessage) protected abstract StringMethods inherited from class org.honton.chas.compose.maven.plugin.ComposeGoal
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
timeout
@Parameter(property="compose.timeout", defaultValue="30") public int timeoutNumber of seconds to wait for compose commands
-
-
Constructor Details
-
ComposeExecuteGoal
public ComposeExecuteGoal()
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classComposeGoal- Throws:
Exception
-
createBuilder
-
subCommand
-
addComposeOptions
- Throws:
Exception
-
postComposeCommand
protected void postComposeCommand(String exitMessage) throws IOException, org.apache.maven.plugin.MojoExecutionException - Throws:
IOExceptionorg.apache.maven.plugin.MojoExecutionException
-