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>
}
<BUG>private List<File> resolveDependencyToFile(String parameterName, Dependency dependency, MavenParameters mavenParameters, boolean transitively, PluginParameters pluginParameters) throws MojoFailureException {
</BUG>
List<File> files = new ArrayList<>();
if (getLog().isDebugEnabled()) {
getLog().debug("Trying to resolve dependency '" + dependency + "' to file.");
}

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);
}
private List<File> resolveDependencyToFile(String parameterName, Dependency dependency, MavenParameters mavenParameters, boolean transitively, PluginParameters pluginParameters, ConfigurationVersion configurationVersion) throws MojoFailureException {
List<File> files = new ArrayList<>();
if (getLog().isDebugEnabled()) {
getLog().debug("Trying to resolve dependency '" + dependency + "' to file.");
}
