Is it possible to view a multi-module Maven project in Eclipse as a hierarchy?

后端 未结 5 1194
北荒
北荒 2021-01-11 09:37

I want a single Maven module (parent POM) configured, that shows all of the child modules underneath it, but this does not seem to work correctly in Eclipse. For example, th

5条回答
  •  天涯浪人
    2021-01-11 10:07

    Since Eclipse 4.5 it is possible to see a multi-module maven project as a tree. In order to do that you need to import all modules as separate projects, then on "Project Explorer" view click "View Menu" (the triangle button), choose "Customize view" and on "Content" tab tick "Nested Projects". This tree representation doesn't work in "Package Explorer" view, only in "Project Explorer".

提交回复
热议问题