new CoverageReportRequest( coverageDataDirectory, coverageReportFormat, coverageReportEncoding,
coverageOutputDirectory,
new File( project.getBuild().getSourceDirectory() ) );
try
{
reporter.generateReport( request );
File index = new File(coverageOutputDirectory.getAbsolutePath() + "/index.html");
if(index.exists())
FileUtils.copyFile(index, new File(coverageOutputDirectory.getAbsolutePath() + "/index.bak.html"));
}
catch ( CoverageReportException e )