org.liquibase.maven.plugins.LiquibaseReleaseLocksMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-maven-plugin Show documentation
Show all versions of liquibase-maven-plugin Show documentation
A Maven plugin wraps up some of the functionality of Liquibase
package org.liquibase.maven.plugins;
import liquibase.Liquibase;
import liquibase.exception.LiquibaseException;
/**
* Removes any Liquibase updater locks from the current database.
*
* @author JAmes Atwill
* @goal releaseLocks
*/
public class LiquibaseReleaseLocksMojo extends AbstractLiquibaseMojo {
@Override
protected void performLiquibaseTask(Liquibase liquibase)
throws LiquibaseException {
liquibase.forceReleaseLocks();
}
}