Class LiquibaseDropAll

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.liquibase.maven.plugins.AbstractLiquibaseMojo
org.liquibase.maven.plugins.LiquibaseDropAll
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LiquibaseDropAll extends AbstractLiquibaseMojo

Drops all database objects in the configured schema(s). Note that functions, procedures and packages are not dropped.

Since:
2.0.2
  • Field Details

    • schemas

      @PropertyElement protected String schemas
      The schemas to be dropped. Comma separated list.
    • dropDbclhistory

      @PropertyElement protected Boolean dropDbclhistory
      If true, the database changelog history table will be dropped. Requires pro license.
    • catalog

      protected String catalog
  • Constructor Details

    • LiquibaseDropAll

      public LiquibaseDropAll()
  • Method Details

    • performLiquibaseTask

      protected void performLiquibaseTask(liquibase.Liquibase liquibase) throws liquibase.exception.LiquibaseException
      Specified by:
      performLiquibaseTask in class AbstractLiquibaseMojo
      Throws:
      liquibase.exception.LiquibaseException
    • printSettings

      protected void printSettings(String indent)
      Description copied from class: AbstractLiquibaseMojo
      Prints the settings that have been set of defaulted for the plugin. These will only be shown in verbose mode.
      Overrides:
      printSettings in class AbstractLiquibaseMojo
      Parameters:
      indent - The indent string to use when printing the settings.