How do I find which of my dependencies is downloading a particular jar?
-
28-05-2021 - |
Вопрос
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 ?
Решение
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.
Другие советы
This is available in leiningen now as lein deps :tree
See here for an example
Не связан с StackOverflow