Class LiquibaseTag

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

    public class LiquibaseTag
    extends AbstractLiquibaseMojo

    Writes a Liquibase tag to the database.

    • Constructor Detail

      • LiquibaseTag

        public LiquibaseTag()
    • Method Detail

      • checkRequiredParametersAreSpecified

        protected void checkRequiredParametersAreSpecified()
                                                    throws org.apache.maven.plugin.MojoFailureException
        Description copied from class: AbstractLiquibaseMojo
        Performs some validation after the properties file has been loaded checking that all properties required have been specified.
        Overrides:
        checkRequiredParametersAreSpecified in class AbstractLiquibaseMojo
        Throws:
        org.apache.maven.plugin.MojoFailureException - If any property that is required has not been specified.
      • 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.
      • performLiquibaseTask

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