1

In an existing project , I have a class which is used to collect response of an API call. I know this class comes in as a maven dependency , but I what I don't know is which is the particular dependent jar , that has it as their are around 20 of them ?

Our code base is in github , the search there in it isn't really effective.

Is there an easy way to determine it ?

Bernd
  • 3,390
  • 2
  • 23
  • 31
  • 2
    If you're using IntelliJ, just ctrl+click a class reference to jump to the metadata, then check the tab or title bar for the full path to the class, which should include the jar name. Otherwise, I'd just dump the package-qualified class name in Google and see what comes up. – Mike Strobel Nov 01 '13 at 08:27
  • http://jarfinder.com is your friend. – Ian Roberts Nov 01 '13 at 08:37
  • 1
    Similar what @MikeStrobel described applies for Eclipse: ctrl+Click on the class name, Show In -> Package Explorer and you see the JAR file, which contains the class. – qqilihq Nov 01 '13 at 08:45
  • What IDE are you using, if any? – Daniel Kaplan Nov 01 '13 at 18:38
  • possible duplicate of [Get source JARs from Maven repository](http://stackoverflow.com/questions/2059431/get-source-jars-from-maven-repository) – prem30488 Apr 06 '14 at 15:00

0 Answers0