I have the following project structure:
pom.xml (packaging: pom)
\-- SubProject
- pom.xml (packaging: jar)
\-- SubProject
- pom.xml (packaging: ear)
I want to open all three projects in Eclipse.
When I select 'import existing project' it only displays the parent pom.xml (packaging: pom) but not the SubProjects.
(The projects have src, test, etc. and open just fine in Netbeans.)
When I move the parent pom to a subfolder and reference it by <relativePath>
, eclipse can open it, but maven warns. So I'd rather not use this.
How can I open the proper Maven project structure in Eclipse?