
org.liquibase.maven.plugins.LiquibaseDBDocMojo 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;
/**
* Generates dbDocs against the database.
*
* @author Ryan Connolly
* @goal dbDoc
*/
public class LiquibaseDBDocMojo extends AbstractLiquibaseChangeLogMojo {
/**
* @parameter
* expression="${liquibase.outputDirectory}"
* default-value="${project.build.directory}/liquibase/dbDoc"
*/
private String outputDirectory;
@Override
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
{
liquibase.generateDocumentation(outputDirectory);
}
public String getOutputDirectory()
{
return outputDirectory;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy