private void executeReport(EventMonitor eventMonitor, ReportHandler reportHandler) throws MojoExecutionException {
// add snapshots repository...
for (String command : reportHandler.getCommands()) {
try {
maven.execute( executedProject, Arrays.asList(new String[]{command}), eventMonitor,
new ConsoleDownloadMonitor(), null, executedProject.getBasedir());
} catch (Throwable e) {
if (reportHandler.mustFailOnError()) {
getLog().error( "Cannot execute the command " + command, e );
throw new MojoExecutionException( "Cannot execute the command " + command, e );
} else {