Class ComposeUp
java.lang.Object
org.apache.maven.plugin.AbstractMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="up",
defaultPhase=PRE_INTEGRATION_TEST,
threadSafe=true)
public class ComposeUp
extends ComposeLogsGoal
Turn on compose application
-
Field Summary
Fields inherited from class org.honton.chas.compose.maven.plugin.ComposeProjectGoal
COMPOSE_YAML, DOT_ENV, MOUNTS_YAML, PORTS_YAMLFields inherited from class org.honton.chas.compose.maven.plugin.ComposeExecuteGoal
timeoutFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionComposeUp(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddComposeOptions(CommandBuilder builder) protected voidpostComposeCommand(String exitMessage) protected StringMethods inherited from class org.honton.chas.compose.maven.plugin.ComposeLogsGoal
saveServiceLogsMethods inherited from class org.honton.chas.compose.maven.plugin.ComposeProjectGoal
createBuilder, relativeToCurrentDirectoryMethods inherited from class org.honton.chas.compose.maven.plugin.ComposeExecuteGoal
doExecuteMethods inherited from class org.honton.chas.compose.maven.plugin.ComposeGoal
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ComposeUp
@Inject public ComposeUp(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
-
-
Method Details
-
subCommand
- Specified by:
subCommandin classComposeExecuteGoal
-
addComposeOptions
- Overrides:
addComposeOptionsin classComposeExecuteGoal
-
postComposeCommand
protected void postComposeCommand(String exitMessage) throws org.apache.maven.plugin.MojoExecutionException, IOException - Overrides:
postComposeCommandin classComposeExecuteGoal- Throws:
org.apache.maven.plugin.MojoExecutionExceptionIOException
-