void (@NotNull Project project, @NotNull MavenResolveProblemHolder problem) { if (problem.isEmpty()) return; MavenSyncConsole syncConsole = MavenProjectsManager.getInstance(project).getSyncConsole(); for (MavenProjectProblem projectProblem : problem.repositoryBlockedProblems) { if (projectProblem.getDescription() == null) continue; BuildIssue buildIssue = RepositoryBlockedSyncIssue.getIssue(project, projectProblem.getDescription()); syncConsole.getListener(MavenServerConsoleIndicator.ResolveType.DEPENDENCY) .showBuildIssue(buildIssue.getTitle(), buildIssue); } for (MavenProjectProblem projectProblem : problem.unresolvedArtifactProblems) { if (projectProblem.getMavenArtifact() == null || projectProblem.getDescription() == null) continue; syncConsole.getListener(MavenServerConsoleIndicator.ResolveType.DEPENDENCY) .showArtifactBuildIssue(projectProblem.getMavenArtifact().getMavenId().getKey(), projectProblem.getDescription()); } }