How to view maven dependency hierarchy in intellij

I also like the Maven Helper Plugin.

Allows you to see dependencies as a tree, see conflicts, search in them. It looks a lot like the Eclipse tooling.

Notice the Text and Dependency Analyzer tabs that appear at the bottom of the POM editor panel. Click the analyzer tab to see results as shown in this screenshot.

screenshot of Maven Helper Plugin window


You can try: Menu -> View -> Tool Windows -> Maven Projects

And then you can see new view openned.

Open your Dependencies tree, and you can see all the dependency hierarchy.

enter image description here


Offical documentation: View Maven dependencies as a diagram

Open the pom.xml, right click anywhere in the editor and choose "Diagrams > Show Dependencies". It opens a dependency tree like those I'm attaching.

The main point is that this context menu appears only on opened pom.xml file (at least I couldn't managed to open it from anywhere else), if you just click on the file in the project tree, it won't be present.

Please note: You need to have UML Support and Maven Integration Extension enabled for this.

enter image description here