Coverage Report - org.liquibase.maven.plugins.LiquibaseReportStatusMojo
 
Classes in this File Line Coverage Branch Coverage Complexity
LiquibaseReportStatusMojo
0%
0/3
N/A
1
 
 1  
 package org.liquibase.maven.plugins;
 2  
 
 3  
 import java.io.OutputStreamWriter;
 4  
 
 5  
 import liquibase.Liquibase;
 6  
 import liquibase.exception.LiquibaseException;
 7  
 
 8  
 /**
 9  
  * Prints which changesets need to be applied to the database.
 10  
  * 
 11  
  * @author JAmes Atwill
 12  
  * @goal status
 13  
  */
 14  0
 public class LiquibaseReportStatusMojo extends AbstractLiquibaseChangeLogMojo {
 15  
 
 16  
     @Override
 17  
     protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException {
 18  0
         liquibase.reportStatus(true, contexts, new OutputStreamWriter(System.out));
 19  0
     }
 20  
 
 21  
 }