Class TestEnvironmentMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.gematik.test.tiger.maven.adapter.mojos.TestEnvironmentMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="setup-testenv",
defaultPhase=INITIALIZE)
public class TestEnvironmentMojo
extends org.apache.maven.plugin.AbstractMojo
This plugin allows to start up the Tiger test environment configured in a specific tiger yaml
file in the pre-integration-test phase. To trigger use the "setup-testenv" goal. For more details
please refer to the README.adoc file in the project root.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longTimespan to keep the test environment up and running in secondsprivate booleanprivate booleanSkip running this plugin.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
skip
@Parameter private boolean skipSkip running this plugin. Default is false. -
autoShutdownAfterSeconds
@Parameter(defaultValue="86400") private long autoShutdownAfterSecondsTimespan to keep the test environment up and running in seconds -
isRunning
private boolean isRunning
-
-
Constructor Details
-
TestEnvironmentMojo
public TestEnvironmentMojo()
-
-
Method Details
-
execute
public void execute() -
abort
void abort()
-