org.liquibase.maven.plugins.LiquibaseListLocksMojo 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;
/**
* Lists all Liquibase updater locks on the current database.
*
* @author JAmes Atwill
* @goal listLocks
*/
public class LiquibaseListLocksMojo extends AbstractLiquibaseMojo {
@Override
protected void performLiquibaseTask(Liquibase liquibase)
throws LiquibaseException {
liquibase.reportLocks(System.out);
}
}