mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Maven: do not create JPS resource roots for maven projects with packaging 'pom' (IDEA-194407)
Maven itself doesn't run resources plugin goals for maven aggregator projects but such configuration can be used for inheritance by children
This commit is contained in:
+3
@@ -124,6 +124,9 @@ public class MavenResourceCompilerConfigurationGenerator {
|
||||
MavenProjectConfiguration projectConfig = new MavenProjectConfiguration();
|
||||
|
||||
for (MavenProject mavenProject : myMavenProjectsManager.getProjects()) {
|
||||
// do not add resource roots for 'pom' packaging projects
|
||||
if ("pom".equals(mavenProject.getPackaging())) continue;
|
||||
|
||||
VirtualFile pomXml = mavenProject.getFile();
|
||||
|
||||
Module module = fileIndex.getModuleForFile(pomXml);
|
||||
|
||||
Reference in New Issue
Block a user