I'm starting to use IntelliJ IDEA 13 Ultimate Edition and was wonder if it had a searchable tabular view of maven dependencies for a project like Eclipse does. For example, in Eclipse I can check my project's maven dependencies by going to its pom and then clicking on the "Dependencies Hierarchy" tab. From there, I can search for the existence of specific dependencies and have the ability to view the POMs of said dependencies.
All I've found so far in IntelliJ is the diagram view of dependencies, which can get really cluttered when you have a lot of dependencies and doesn't really allow me to view POMs or search.
Any ideas?
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.
If the dependencies weren't imported correctly (IntelliJ IDEA highlights them), try to perform the following actions: You can check your local maven repository in the Maven | Repositories settings and try to update it. You can check the jar file of the local . m2 repository to see if it was downloaded correctly.
Analyze dependenciesFrom the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules | Dependencies. Right-click the necessary dependency and select Analyze This Dependency.
Try Maven Helper plugin: once you install it, every POM file gets a tab for "Dependency Analyzer" which also includes a search bar.
If you need something more, report an issue. But it should be easy to implement it yourself and send a pull request.
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