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

    Fields
    Modifier and Type
    Field
    Description
    private long
    Timespan to keep the test environment up and running in seconds
    private boolean
     
    private boolean
    Skip running this plugin.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
     
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • skip

      @Parameter private boolean skip
      Skip running this plugin. Default is false.
    • autoShutdownAfterSeconds

      @Parameter(defaultValue="86400") private long autoShutdownAfterSeconds
      Timespan 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()