1 | |
package org.liquibase.maven.plugins; |
2 | |
|
3 | |
import liquibase.Liquibase; |
4 | |
import liquibase.exception.LiquibaseException; |
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | 1 | public class LiquibaseDBDocMojo extends AbstractLiquibaseChangeLogMojo { |
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
private String outputDirectory; |
18 | |
|
19 | |
@Override |
20 | |
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { |
21 | 0 | liquibase.generateDocumentation(outputDirectory); |
22 | 0 | } |
23 | |
|
24 | |
public String getOutputDirectory() { |
25 | 1 | return outputDirectory; |
26 | |
} |
27 | |
|
28 | |
} |