How to find where one lib is imported to the project in IntellijIdea?

Answered

Hi,

In IntellijIdea's project view, we can see a lot of external libraries.

 

How can I find that where or why one specific lib is imported and shown here? I would like IntellijIdea somehow to point at some line in pom.xml, to tell me that the lib is imported becasue of this line!

1
4 comments

Maven dependencies are a bit more complicated and one line in pom.xml can pull a dozen of libraries.

You can use the Show Dependencies context menu in IntelliJ IDEA Ultimate:

0
Avatar
Permanently deleted user

There is no Show Dependencies option in my Intellij Idea. Is that becasue of its version? It is Ultimate 2017.03

 

0

UML Support plug-in is required to be enabled for this feature to work: http://www.jetbrains.com/idea/webhelp/enabling-and-disabling-plugins.html.

0
Avatar
Permanently deleted user

Yes. It is an useful plug in. Then it is clear. Thanks.

0

Please sign in to leave a comment.