Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dependency and Dependency viewer tab in intelliJ IDEA

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...

like image 871
coure2011 Avatar asked Apr 13 '13 07:04

coure2011


People also ask

Where is dependencies tab in IntelliJ?

From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules | Dependencies.

How do I open dependencies in IntelliJ?

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.

How do I get dependency analyzer in IntelliJ?

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.

How do I change dependencies in IntelliJ?

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.


1 Answers

To view effective pom you can right click your pom.xml > Maven > Show effective POM

enter image description here

like image 81
Lovro Pandžić Avatar answered Sep 20 '22 18:09

Lovro Pandžić