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

后端 未结 5 1191
北荒
北荒 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:03

    I solved this problem as follows:

    Under the "Project Explorer" click on the "View Menu" (little triangle) and select "Filters and Customization..."

    Under the "Content" tab tick "Nested Projects"

    Finally, Under the "Pre-set filters" tab tick "Nested Projects: hide folders when projects is shown as nested" and "Nested Projects: hide-top-level project if shown as nested".

    By doing that I come up with the following structure.

提交回复
热议问题