21

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 ?

2 Answers 2

40

This is available in leiningen now as lein deps :tree

See here for an example

9

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.

2
  • 3
    Nope, this is the best you can do in Clojure at the moment.
    – amalloy
    Apr 2, 2012 at 0:35
  • 8
    At present, the better answer is to use lein deps :tree (an answer on this page: stackoverflow.com/a/9971247/109618)
    – David J.
    Mar 24, 2014 at 20:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.