log.info( resultsFileName + " could not be downloaded. Using the template to create anew");
resultsFile = new File(project.getBasedir(), "src/main/resources/" + resultsFileName);
}
FileInputStream is = new FileInputStream( resultsFile );
Document document = tidy.parseDOM(is, null);
is.close();
File reportsDir = new File(targetDirectory, "surefire-reports");
if ( !reportsDir.exists() ) {
log.warn("No surefire-reports directory here");