Package de.funfried.maven.plugin.zonky
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=false)
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
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
StartEmbeddedPostgresMojo
public StartEmbeddedPostgresMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionStarts the embedded postgres database.- Throws:
org.apache.maven.plugin.MojoExecutionException
- if an error occurs
-