How do I find which of my dependencies is downloading a particular jar?
-
28-05-2021 - |
Question
One of my project.clj's :dependencies is dependent on the monolithic clojure-contrib-1.1.0.jar, but I can't guess which one is downloading it. Short of incrementally commenting out each one, how can I discover which of them is responsible ?
Solution
I'm not sure if there's a more Clojure-y solution, but you can run lein pom
to generate a Maven POM, and then run mvn dependency:tree
to display a tree of the projects dependencies.
OTHER TIPS
This is available in leiningen now as lein deps :tree
See here for an example
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow