问题描述
Leiningen(https://github.com/technomancy/leiningen)会查看一些默认存储库,以满足您的project.clj中指定的依赖关系。
Leiningen (https://github.com/technomancy/leiningen) looks into some default repositories to satisfy the dependencies specified in your project.clj.
浏览这些存储库以查看leiningen中的开箱即用的内容。
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.
推荐答案
在撰写本文时, leiningen使用以下默认存储库:
As of the time of writing, leiningen uses the following default repositories:
- central -
- clojure -
- clojure-snapshots -
- clojars -
- "central" - http://repo1.maven.org/maven2
- "clojure" - http://build.clojure.org/releases
- "clojure-snapshots" - http://build.clojure.org/snapshots
- "clojars" - http://clojars.org/repo/
它们在文件src / core.clj中硬编码为leiningen default-repos字典,例如可以在github上查找:
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
这篇关于什么是leiningen默认存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!