throw new MojoExecutionException( "Unable to created directory " + targetDir.getPath() );
}
for (Report report : targetReports) {
ReportHandler reportHandler = report.getReportHandler();
reportHandler.preparePom(executedProject);
}
if (executedProject.getReporting() != null) {
executedProject.getReporting().setPlugins(null);
}
// avoid a bug with maven when artifact versionRange is null