| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LiquibaseReleaseLocksMojo |
|
| 1.0;1 |
| 1 | package org.liquibase.maven.plugins; | |
| 2 | ||
| 3 | import liquibase.Liquibase; | |
| 4 | import liquibase.exception.LiquibaseException; | |
| 5 | ||
| 6 | /** | |
| 7 | * Removes any Liquibase updater locks from the current database. | |
| 8 | * | |
| 9 | * @author JAmes Atwill | |
| 10 | * @goal releaseLocks | |
| 11 | */ | |
| 12 | 0 | public class LiquibaseReleaseLocksMojo extends AbstractLiquibaseMojo { |
| 13 | ||
| 14 | @Override | |
| 15 | protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { | |
| 16 | 0 | liquibase.forceReleaseLocks(); |
| 17 | 0 | } |
| 18 | ||
| 19 | } |