Search code examples
clojureleiningenclojure-contrib

How do I find which of my dependencies is downloading a particular jar?


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.