Browse files

Merge pull request #767 from bruceadams/master

 Include user profile repos for search outside project, issue #762
  • Loading branch information...
2 parents d254dae + 0042fdc commit d786791b15a17594a0bd6bc1ef6388bbeff5c576 @technomancy committed Sep 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/leiningen/search.clj
@@ -3,7 +3,7 @@
[clojure.string :as string]
[leiningen.core.user :as user]
[leiningen.core.main :as main]
- [leiningen.core.project :as core-project]
+ [leiningen.core.project :as project]
[clj-http.client :as http])
(:import (org.apache.maven.index IteratorSearchRequest MAVEN NexusIndexer)
(org.apache.maven.index.context IndexingContext)
@@ -110,7 +110,7 @@ Also accepts a second parameter for fetching successive pages."
;; Maven's indexer requires over 1GB of free space for a <100M index
(let [orig-tmp (System/getProperty "")
new-tmp (io/file (user/leiningen-home) "indices" "tmp")
- project (or project core-project/defaults)
+ project (or project (project/normalize-repos project/defaults))
contexts (doall (map add-context (:repositories project)))]
(.mkdirs new-tmp)

0 comments on commit d786791

Please sign in to comment.