Coverage Report - org.liquibase.maven.plugins.LiquibaseDBDocMojo
 
Classes in this File Line Coverage Branch Coverage Complexity
LiquibaseDBDocMojo
50%
2/4
N/A
1
 
 1  
 package org.liquibase.maven.plugins;
 2  
 
 3  
 import liquibase.Liquibase;
 4  
 import liquibase.exception.LiquibaseException;
 5  
 
 6  
 /**
 7  
  * Generates dbDocs against the database.
 8  
  * 
 9  
  * @author Ryan Connolly
 10  
  * @goal dbDoc
 11  
  */
 12  1
 public class LiquibaseDBDocMojo extends AbstractLiquibaseChangeLogMojo {
 13  
 
 14  
     /**
 15  
      * @parameter expression="${liquibase.outputDirectory}" default-value="${project.build.directory}/liquibase/dbDoc"
 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  
 }