Skip to content

Commit

Permalink
Merge pull request technomancy#2225 from tobias/new-clojars-repo-url
Browse files Browse the repository at this point in the history
Use new clojars repo url
  • Loading branch information
hypirion authored Dec 13, 2016
2 parents 29560a2 + 21badb1 commit d82f539
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion leiningen-core/src/leiningen/core/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
(def default-repositories
(with-meta
[["central" {:url "https://repo1.maven.org/maven2/" :snapshots false}]
["clojars" {:url "https://clojars.org/repo/"}]]
["clojars" {:url "https://repo.clojars.org/"}]]
{:reduce reduce-repo-step}))

(def deploy-repositories
Expand Down
2 changes: 1 addition & 1 deletion leiningen-core/test/leiningen/core/test/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

:repositories [["central" {:url "https://repo1.maven.org/maven2/"
:snapshots false}]
["clojars" {:url "https://clojars.org/repo/"}]]})
["clojars" {:url "https://repo.clojars.org/"}]]})

(deftest test-read-project
(let [actual (read (.getFile (io/resource "p1.clj")))]
Expand Down
4 changes: 2 additions & 2 deletions test/leiningen/test/pom.clj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
(map #(first-in % [:repository :id])
(deep-content xml [:project :repositories])))
"repositories are named")
(is (= ["https://repo1.maven.org/maven2/" "https://clojars.org/repo/"
(is (= ["https://repo1.maven.org/maven2/" "https://repo.clojars.org/"
"http://example.com/repo"]
(map #(first-in % [:repository :url])
(deep-content xml [:project :repositories])))
Expand Down Expand Up @@ -386,4 +386,4 @@
(deep-content xml [:project :dependencyManagement :dependencies]))))
(is (= [nil nil nil nil nil "sources" "sources" nil nil]
(map #(first-in % [:dependency :classifier])
(deep-content xml [:project :dependencyManagement :dependencies]))))))))
(deep-content xml [:project :dependencyManagement :dependencies]))))))))

0 comments on commit d82f539

Please sign in to comment.