Class CleanMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
ac.simons.neo4j.migrations.maven.CleanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="clean", requiresDependencyResolution=TEST, defaultPhase=CLEAN, threadSafe=true) public class CleanMojo extends org.apache.maven.plugin.AbstractMojo
Goal that cleans the configured database. Can be configured with all set to true for removing everything Neo4j-Migrations created in a schema database. Binds to the clean phase by default
Since:
1.1.0
Author:
Michael J. Simons
  • 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
     

    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

    • CleanMojo

      public CleanMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException