}
}
private void instrumentSources(final Map<String, String[]> filesToInstrument, final String outputDir) throws MojoExecutionException {
Logger.setInstance(new MvnLogger(configuration.getLog()));
// only make dirs when there is src to instrument. see CLMVN-118
new File(outputDir).mkdirs();
int result = CloverInstr.mainImpl(createCliArgs(filesToInstrument, outputDir));
if (result != 0) {
throw new MojoExecutionException("Clover has failed to instrument the source files "