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.32.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 {
		liquibase.changeLogSync(new Contexts(contexts), new LabelExpression(labels));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy