Reputation: 947
Is there a way to generate somehow a Histogram of Maven Dependencies? (number of usages over the library)
I would like to know for all of our projects (not necessary connected in any terms):
Is there a way to extract this information with maven (or any other tool) form the POMs?
Do you have suggestions how to collect this info over many projects?
Upvotes: 0
Views: 58
Reputation: 2805
You can do that with a command:
mvn dependency:tree -Dverbose
The -Dverbose
option will show all dependencies, even the ones removed.
Read here for more info
Upvotes: 1
Reputation: 44368
IntelliJ Idea
In IntelliJ Idea, open pom.xml file, right-click anywhere and select Diagrams
-> Show dependencies...
:
Upvotes: 0