Class ComposeLink
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.honton.chas.compose.maven.plugin.ComposeGoal
org.honton.chas.compose.maven.plugin.ComposeExecuteGoal
org.honton.chas.compose.maven.plugin.ComposeProjectGoal
org.honton.chas.compose.maven.plugin.ComposeLink
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="link",
defaultPhase=TEST,
threadSafe=true)
public class ComposeLink
extends ComposeProjectGoal
Link compose configuration into single application
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionComposeLink(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddComposeOptions(CommandBuilder builder) protected voidpostComposeCommand(String exitMessage) Methods 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
-
Field Details
-
HOST_IP
- See Also:
-
ALL_INTERFACES
- See Also:
-
-
Constructor Details
-
ComposeLink
@Inject public ComposeLink(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
-
-
Method Details
-
subCommand
- Specified by:
subCommandin classComposeExecuteGoal
-
addComposeOptions
protected boolean addComposeOptions(CommandBuilder builder) throws org.apache.maven.plugin.MojoExecutionException, org.eclipse.aether.RepositoryException, IOException - Overrides:
addComposeOptionsin classComposeExecuteGoal- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.eclipse.aether.RepositoryExceptionIOException
-
postComposeCommand
protected void postComposeCommand(String exitMessage) throws IOException, org.apache.maven.plugin.MojoExecutionException - Overrides:
postComposeCommandin classComposeExecuteGoal- Throws:
IOExceptionorg.apache.maven.plugin.MojoExecutionException
-