org.apache.maven.plugins.surefire.report
Class FailsafeReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by org.apache.maven.plugins.surefire.report.AbstractSurefireReportMojo
              extended by org.apache.maven.plugins.surefire.report.FailsafeReportMojo
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 FailsafeReportMojo
extends AbstractSurefireReportMojo

Creates a nicely formatted Failsafe Test Report in html format. This goal does not run the tests, it only builds the reports. See http://jira.codehaus.org/browse/SUREFIRE-257

Since:
2.10
Version:
$Id: FailsafeReportMojo.java 1144289 2011-07-08 12:39:32Z stephenc $
Author:
Stephen Connolly

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
FailsafeReportMojo()
           
 
Method Summary
 String getOutputName()
          
protected  File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
          Gets the default surefire reports directory for the specified project.
 
Methods inherited from class org.apache.maven.plugins.surefire.report.AbstractSurefireReportMojo
executeReport, getDescription, getName, getOutputDirectory, getProject, getSiteRenderer
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
 
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

FailsafeReportMojo

public FailsafeReportMojo()
Method Detail

getSurefireReportsDirectory

protected File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
Description copied from class: AbstractSurefireReportMojo
Gets the default surefire reports directory for the specified project.

Specified by:
getSurefireReportsDirectory in class AbstractSurefireReportMojo
Parameters:
subProject - the project to query.
Returns:
the default surefire reports directory for the specified project.

getOutputName

public String getOutputName()
Description copied from class: AbstractSurefireReportMojo

Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport
Specified by:
getOutputName in class AbstractSurefireReportMojo


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.