All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.liquibase.maven.plugins.LiquibaseDBDocMojo Maven / Gradle / Ivy

The newest version!
package org.liquibase.maven.plugins;

import liquibase.Liquibase;
import liquibase.exception.LiquibaseException;
import org.liquibase.maven.property.PropertyElement;

/**
 * 

Generates dbDocs against the database.

* * @author Ryan Connolly * @goal dbDoc */ public class LiquibaseDBDocMojo extends AbstractLiquibaseChangeLogMojo { /** * @parameter * property="liquibase.outputDirectory" * default-value="${project.build.directory}/liquibase/dbDoc" */ @PropertyElement private String outputDirectory; @Override protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { liquibase.generateDocumentation(outputDirectory); } public String getOutputDirectory() { return outputDirectory; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy