List<MavenReportExecution> filtered = new ArrayList<MavenReportExecution>( reports );
Map<String, MavenReport> reportsByOutputName = new LinkedHashMap<String, MavenReport>();
for ( MavenReportExecution mavenReportExecution : filtered )
{
MavenReport report = mavenReportExecution.getMavenReport();
String outputName = report.getOutputName() + ".html";
// Always add the report to the menu, see MSITE-150
reportsByOutputName.put( report.getOutputName(), report );
if ( documents.containsKey( outputName ) )
{
String displayLanguage = locale.getDisplayLanguage( Locale.ENGLISH );
getLog().info( "Skipped \"" + report.getName( locale ) + "\" report, file \"" + outputName
+ "\" already exists for the " + displayLanguage + " version." );
reports.remove( mavenReportExecution );
}
else
{