Class CheckMojo

All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="check", defaultPhase=PROCESS_TEST_RESOURCES) public class CheckMojo extends AbstractDbMigrationMojo
Check current schema against available migrations to see if database is up to date, causing the build to fail if the database is not up to date.

  • Constructor Details

    • CheckMojo

      public CheckMojo()
  • Method Details

    • executeMojo

      public void executeMojo() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      executeMojo in class AbstractDbMigrationMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException