I have a huge Maven multi-module project. With similar structure
parentA - subA1 - subA3 - subA3 - subA2 parentB - subB1 - subB2
go: Windows -> Preferences -> Maven -> Hide folders of physically nested modules
and re-import your project.