org.jacoco.maven
Class ReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.jacoco.maven.AbstractReportMojo
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
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
- Is defined by the goal name:
- report
- Is bound to the specified phase of the standard build lifecycle:
- verify
- Requires a Maven project to run:
- true
- Mojo is thread safe:
- true
| 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 |
| Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
closeReport, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory |
| 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 |
ReportMojo
public ReportMojo()
getOutputDirectory
protected String getOutputDirectory()
- Specified by:
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
setReportOutputDirectory
public void setReportOutputDirectory(File reportOutputDirectory)
- Specified by:
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReport- Specified by:
setReportOutputDirectory in class AbstractReportMojo
getOutputName
public String getOutputName()
- Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport- Specified by:
getOutputName in class AbstractReportMojo
getName
public String getName(Locale locale)
- Specified by:
getName in interface org.apache.maven.reporting.MavenReport- Specified by:
getName in class AbstractReportMojo
Copyright © 2009-2016 Mountainminds GmbH & Co. KG. All Rights Reserved.