1 package org.liquibase.maven.plugins; 2 3 import liquibase.exception.LiquibaseException; 4 import liquibase.Liquibase; 5 6 /** 7 * Applies the DatabaseChangeLogs to the database, testing rollback. This is done by updating the database, rolling it 8 * back then updating it again. 9 * 10 * @description Liquibase UpdateTestingRollback Maven plugin 11 * @goal updateTestingRollback 12 */ 13 public class LiquibaseUpdateTestingRollback extends AbstractLiquibaseUpdateMojo { 14 15 @Override 16 protected void doUpdate(Liquibase liquibase) throws LiquibaseException { 17 liquibase.updateTestingRollback(contexts); 18 } 19 }