All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.liquibase.maven.plugins.LiquibaseUpdateTestingRollback Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package org.liquibase.maven.plugins;

import liquibase.Contexts;
import liquibase.LabelExpression;
import liquibase.Liquibase;
import liquibase.exception.LiquibaseException;

/**
 * 

Applies the DatabaseChangeLogs to the database, testing rollback. This is * done by updating the database, rolling it back then updating it again.

* * @description Liquibase UpdateTestingRollback Maven plugin * @goal updateTestingRollback */ public class LiquibaseUpdateTestingRollback extends AbstractLiquibaseUpdateMojo { @Override protected void doUpdate(Liquibase liquibase) throws LiquibaseException { liquibase.updateTestingRollback(new Contexts(contexts), new LabelExpression(getLabelFilter())); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy