pmdConfiguration.setSourceEncoding( encoding );
List<DataSource> dataSources = new ArrayList<DataSource>( filesToProcess.size() );
for ( File f : filesToProcess.keySet() )
{
dataSources.add( new FileDataSource( f ) );
}
try
{
getLog().debug( "Executing PMD..." );