Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
LiquibaseChangeLogSyncMojo |
|
| 1.0;1 |
1 | package org.liquibase.maven.plugins; | |
2 | ||
3 | import liquibase.Liquibase; | |
4 | import liquibase.exception.LiquibaseException; | |
5 | ||
6 | /** | |
7 | * Marks all unapplied changes to the database as applied in the change log. | |
8 | * | |
9 | * @author JAmes Atwill | |
10 | * @goal changelogSync | |
11 | */ | |
12 | 0 | public class LiquibaseChangeLogSyncMojo extends AbstractLiquibaseChangeLogMojo { |
13 | ||
14 | @Override | |
15 | protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { | |
16 | 0 | liquibase.changeLogSync(contexts); |
17 | 0 | } |
18 | ||
19 | } |