Class StopEmbeddedPostgresMojo

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

@Mojo(name="stop", defaultPhase=PRE_CLEAN, threadSafe=false) public class StopEmbeddedPostgresMojo extends org.apache.maven.plugin.AbstractMojo
Goal which stops the 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
    Stops 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

    • StopEmbeddedPostgresMojo

      public StopEmbeddedPostgresMojo()
  • Method Details

    • execute

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