List<ProjectInfo.Entry> entries = new ArrayList<>(issues.size());
for (DependencyResolutionIssue issue: issues) {
entries.add(new ProjectInfo.Entry(ProjectInfo.Kind.ERROR, issue.getMessage()));
}
dependencyResolutionFailureRef.setInfo(new ProjectInfo(entries));
ModelLoadIssueReporter.reportDependencyResolutionFailures(issues);
}
else {
dependencyResolutionFailureRef.setInfo(null);
}