Class 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 Detail

      • dropDbclhistory

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

        protected String catalog
    • Constructor Detail

      • LiquibaseDropAll

        public LiquibaseDropAll()
    • Method Detail

      • 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.