| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LiquibaseClearChecksumsMojo |
|
| 1.0;1 |
| 1 | package org.liquibase.maven.plugins; | |
| 2 | ||
| 3 | import liquibase.Liquibase; | |
| 4 | import liquibase.exception.LiquibaseException; | |
| 5 | ||
| 6 | /** | |
| 7 | * Clears all checksums in the current changelog, so they will be recalculated next update. | |
| 8 | * | |
| 9 | * @author Nathan Voxland | |
| 10 | * @goal clearCheckSums | |
| 11 | */ | |
| 12 | 0 | public class LiquibaseClearChecksumsMojo extends AbstractLiquibaseMojo { |
| 13 | ||
| 14 | @Override | |
| 15 | protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { | |
| 16 | 0 | liquibase.clearCheckSums(); |
| 17 | 0 | } |
| 18 | } |