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

org.liquibase.maven.plugins.LiquibaseChangeLogSyncMojo 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;

/**
 * 

Marks all unapplied changes to the database as applied in the change log.

* * @author James Atwill * @goal changelogSync */ public class LiquibaseChangeLogSyncMojo extends AbstractLiquibaseChangeLogMojo { @Override protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { super.performLiquibaseTask(liquibase); liquibase.changeLogSync(new Contexts(contexts), new LabelExpression(getLabelFilter())); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy