How to generate a graph of the dependency between all modules of a Maven project?

后端 未结 8 2020
遇见更好的自我
遇见更好的自我 2020-11-28 06:53

How to generate a graph of the dependency between all modules of a Maven project (excluding third party libraries like JUnit, SLF4J, etc.)? I couldn\'t find a way to include

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 07:26

    Haven't you opened the pom via Eclipse and taken a look onto the tab-folders of the pom.xml where one entry is name "Dependency Graph" ? Ah sorry...oversight something...You can create a dependency tree via mvn dependency:tree on command line, but this produces no graphical view. An other better solution might be the Maven Overview Plugin

提交回复
热议问题