In Eclipse I have two maven projects A and B, where A is a parent for B. The directory structure is the following:
A/pom.xml A/B/pom.xml A/B/...
Windows - Preferences - Maven - Hide folders of physically nested modules