void (@NotNull Project project) { MavenProjectsManager projectsManager = MavenProjectsManager.getInstance(project); MavenSyncConsole syncConsole = projectsManager.getSyncConsole(); for (MavenProject mavenProject : projectsManager.getProjects()) { for (MavenProjectProblem problem : mavenProject.getProblems()) { syncConsole.showProblem(problem); } } }