Reputation: 3517
I am looking at a project's maven pom file with a lot of dependencies and trying to find out if a particular dependency is used or not. Is there a way in Intellij IDEA to find all import statements that import any class from a particular package?
Upvotes: 3
Views: 3118
Reputation: 4994
I'm working with IntelliJ IDEA 14 UE.
Upvotes: 5
Reputation: 48105
I am not aware of a way to do it directly in IntelliJ but you can always use the analyse
goal of the maven-dependency-plugin
.
Here is a link to a nice example of the plugin.
Upvotes: 1