List<File> files = new ArrayList<File>();
for (File folder : sourceFolders) {
getLog().debug("searching " + folder);
try {
files.addAll(new FileLister(folder, includes, excludes).files());
} catch (IOException e) {
// Looking in FileUtils, this is a "can never happen". *sigh*
throw new MojoExecutionException("Error listing files", e);
}
}