throw new MojoFailureException(String.format("Could not resolve dependency with descriptor '%s'.", descriptor));
}
}
if (files.size() == 0) {
String message = String.format("Could not resolve dependency with descriptor '%s'.", descriptor);
<BUG>if (ignoreNonResolvableArtifacts(pluginParameters)) {
getLog().warn(message);</BUG>
} else {
throw new MojoFailureException(message);
}

throw new MojoFailureException(String.format("Could not resolve dependency with descriptor '%s'.", descriptor));
}
}
if (files.size() == 0) {
String message = String.format("Could not resolve dependency with descriptor '%s'.", descriptor);
if (ignoreNonResolvableArtifacts(pluginParameters) || ignoreMissingOldVersion(pluginParameters, configurationVersion)) {
getLog().warn(message);
} else {
throw new MojoFailureException(message);
