问题
Leiningen (https://github.com/technomancy/leiningen) looks into some default repositories to satisfy the dependencies specified in your project.clj.
I want to browse these repositories to see what's available out-of-the-box in leiningen. What are these repos and where can I look them up for my specific version of leiningen.
回答1:
As of the time of writing, leiningen uses the following default repositories:
- "central" - http://repo1.maven.org/maven2
- "clojure" - http://build.clojure.org/releases
- "clojure-snapshots" - http://build.clojure.org/snapshots
- "clojars" - http://clojars.org/repo/
They are hardcoded into leiningen in the file "src/core.clj" as a "default-repos" dictionary and can - for example - be looked up at github: https://github.com/technomancy/leiningen/blob/master/src/leiningen/core.clj
来源:https://stackoverflow.com/questions/4615592/what-are-the-leiningen-default-repositories