Using STS when clicking on a pom.xml file I can view these tabs
Overview Dependencies Dependcy Hierarchy Effective POM pom.xml
How can I see all these tabs using intelliJ IDEA, specially Dependency Hierarchy? I tried to see it by right click pom.xml > Maven > Show Dependencies
but it only show a single rectangle having my project name in it...
From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules | Dependencies.
In the POM, right-click anywhere in the editor to open the context menu and select Maven | Show Dependencies. Alternatively, press Ctrl+Alt+Shift+U or Ctrl+Alt+U . In the diagram window, IntelliJ IDEA displays the sub project and all its dependencies including the transitive ones.
From the main menu, select Code | Analyze Code | Dependencies. Alternatively, if you want to analyze a specific item, right-click it in the Project tool window and select Analyze | Analyze Dependencies. In the dialog that opens, specify the scope of files that you want to analyze.
From the main menu, select File | Project Structure Ctrl+Alt+Shift+S , and go to Modules | Dependencies. In the next dialog, click Edit, and then click Configure next to the Include transitive dependencies option. Select the dependencies you want to include in the library and click OK.
To view effective pom you can right click your pom.xml > Maven > Show effective POM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With