Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure CLI by
retagged by

As a Clojure developer,
I want to be able to link project dependencies to the maven repos that provide them
so that a) tools that work with dependencies (e.g. nvd-clojure, clj-watson) have more first-hand information to work with, b) I can easily find out custom maven repos that are no longer used and c) get a better understanding in general of what my project is composed of.

Workaround

clj -Sdeps '{:mvn/local-repo "tmp"}' -Stree uses a custom local maven repo to force a redownload of the jars and provides a way to do the above by looking at the messages (e.g. Downloading: org/clojure/clojure/1.11.1/clojure-1.11.1.pom from central), so it can be ok in some cases.

Would you consider simplifying this process by providing a way to get that information as data? I would love to have it in clj -X:deps tree :format :edn for instance.

1 Answer

0 votes
by
...