String path = configurationFile.getPath();
if (path == null) {
throw new MojoFailureException(String.format("The path element in the configuration of the plugin is missing for %s.", parameterName));
}
File file = new File(path);
<BUG>if (!file.exists()) {
throw new MojoFailureException(String.format("The path '%s' does not point to an existing file.", path));
}
if (!file.isFile() || !file.canRead()) {
throw new MojoFailureException(String.format("The file given by path '%s' is either not a file or is not readable.", path));
}
return Collections.singletonList(file);</BUG>
}

String path = configurationFile.getPath();
if (path == null) {
throw new MojoFailureException(String.format("The path element in the configuration of the plugin is missing for %s.", parameterName));
