Class StartEmbeddedPostgresMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.funfried.maven.plugin.zonky.StartEmbeddedPostgresMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="start", defaultPhase=INITIALIZE, requiresProject=true, threadSafe=true) public class StartEmbeddedPostgresMojo extends org.apache.maven.plugin.AbstractMojo
Goal which starts an embedded postgres database.
  • Field Summary

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Starts the embedded postgres database.

    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
  • Constructor Details

    • StartEmbeddedPostgresMojo

      public StartEmbeddedPostgresMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Starts the embedded postgres database.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if an error occurs