leiningen/leiningen-core/dev-resources/replace-repositories.clj
Chris Price 1354f15877 (#1695) Add failing test for repository replace
As described in #1695, the `^:replace` metadata for the
`:repositories` section of the project file stopped working
around 2.4.0 (commit 17e91e6).

This commit adds a failing test that illustrates the
behavior.
2014-10-18 15:24:53 -07:00

6 lines
287 B
Clojure

(defproject metadata-check "0.1.0"
:description "Check that repositories can be replaced."
:license {:name "Eclipse Public License"}
:dependencies [[robert/hooke "1.1.2"]
[stencil "0.2.0"]]
:repositories ^:replace [["nexus" {:url "https://clojars.org/repo/"}]])