org.jacoco.maven
Class ReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jacoco.maven.AbstractReportMojo
          extended by org.jacoco.maven.ReportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport

@Mojo(name="report",
      defaultPhase=VERIFY,
      threadSafe=true)
public class ReportMojo
extends AbstractReportMojo

Creates a code coverage report for tests of a single project in multiple formats (HTML, XML, and CSV).

Since:
0.5.3

Field Summary
 
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ReportMojo()
           
 
Method Summary
 String getName(Locale locale)
           
 String getOutputName()
           
 File getReportOutputDirectory()
           
 void setReportOutputDirectory(File reportOutputDirectory)
           
 
Methods inherited from class org.jacoco.maven.AbstractReportMojo
canGenerateReport, execute, generate, generate, getCategoryName, getDescription, isExternalReport
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportMojo

public ReportMojo()
Method Detail

getReportOutputDirectory

public File getReportOutputDirectory()

setReportOutputDirectory

public void setReportOutputDirectory(File reportOutputDirectory)

getOutputName

public String getOutputName()

getName

public String getName(Locale locale)


Copyright © 2009–2021 Mountainminds GmbH & Co. KG. All rights reserved.