void (@NotNull ModifiableModuleModel moduleModel) { var project = moduleModel.getProject(); var contentEntryPath = getContentEntryPath(); if (null == contentEntryPath) return; var mavenProjectsTree = MavenProjectsManager.getInstance(project).getProjectsTree(); mavenProjectsTree.removeIgnoredFilesPaths(List.of(contentEntryPath + "/pom.xml")); }