Class LiquibaseChangeLogSyncToTagMojo

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

public class LiquibaseChangeLogSyncToTagMojo extends AbstractLiquibaseChangeLogMojo

Marks all unapplied changes up to and include a specified tag to the database as applied in the change log.

  • Field Details

  • Constructor Details

    • LiquibaseChangeLogSyncToTagMojo

      public LiquibaseChangeLogSyncToTagMojo()
  • Method Details

    • 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 AbstractLiquibaseChangeLogMojo
      Throws:
      org.apache.maven.plugin.MojoFailureException - If any property that is required has not been specified.
    • performLiquibaseTask

      protected void performLiquibaseTask(liquibase.Liquibase liquibase) throws liquibase.exception.LiquibaseException
      Description copied from class: AbstractLiquibaseChangeLogMojo
      Performs the actual Liquibase task on the database using the fully configured Liquibase.
      Overrides:
      performLiquibaseTask in class AbstractLiquibaseChangeLogMojo
      Parameters:
      liquibase - The Liquibase that has been fully configured to run the desired database task.
      Throws:
      liquibase.exception.LiquibaseException