When building a multi module Maven project with multiple levels like:
.
├── my-project (project)
│ ├── pom.xml
│ ├── module-a (folder inside a project)
| └── pom.xml
│ └── module-b (folder inside a project)
| └── pom.xml
├── module-a (project)
│ └── pom.xml
├── module-b (project)
└── pom.xml
If I open an editor on pom.xml from module-b, the projects tree doesn't link the editor with the last pom.xml inside module-b as a project, it selects pom.xml inside myproject/module-b. It would be really helpful if the project tree selected files inside the most inner java project it find, not the first one occurrence on the entire tree.