clojure - Why does leiningen download 1GB (almost) of jar indexes and how to stop that? -
leiningen downloaded 1gb of jar index information repo1.maven.org , clojars.org. why need download huge amount of information? , there way prevent that?
the directory in question is: ~/.lein/indeces
it contains following folders:
https___clojars.org_repo_ https___repo1.maven.org_maven2_
the maven.org folder contains 849mb!
here project definition:
(defproject test-project "0.1.0-snapshot" :description "fixme: write description" :url "http://example.com/fixme" :license {:name "eclipse public license" :url "http://www.eclipse.org/legal/epl-v10.html"} :main test-project.core :dependencies [[org.clojure/clojure "1.6.0"] [camel-snake-kebab "0.3.1" :exclusions [org.clojure/clojure]]])
thanks
this content maintained not leiningen itself, the lein-search
plugin. i'd suggest uninstalling (the plugin, is) unless consider benefits worth cost in time , storage.
to so, remove references lein-search/lein-search
or org.clojars.wuschel/lein-search
~/.lein/profiles.clj
-- or, if content created while working in different project, project.clj
of project.
Comments
Post a Comment