Can IntelliJ display a searchable maven dependency like Eclipse?
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?
Solution 1:
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.
Solution 2:
Firstly, you have the maven plugin enabled, and you can build your project in IntelliJ via the Maven Projects
pane (top right) ?
Now, you can see all your maven dependencies in a linear list in the Project
pane (top left), underneath your source code. You can also type a search-string (e.g. "apache" will highlight all your org.apache.x.y.z
dependencies.
For a structural view of the dependencies, you can start with one of the maven modules in the Maven Projects
pane. Go to My Module
-> dependencies
and browse the tree. You can go to the pom of any of the dependencies in this tree with f4.
From within any pom, control-clicking on another artifactId will navigate to that pom, if available.
I hope this helps!