1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
Patch project.clj to build locally with lein.
Index: kitchensink-clojure/project.clj
===================================================================
--- kitchensink-clojure.orig/project.clj
+++ kitchensink-clojure/project.clj
@@ -5,26 +5,27 @@
:min-lein-version "2.9.1"
- :parent-project {:coords [puppetlabs/clj-parent "4.0.0"]
- :inherit [:managed-dependencies]}
-
;; Abort when version ranges or version conflicts are detected in
;; dependencies. Also supports :warn to simply emit warnings.
;; requires lein 2.2.0+.
:pedantic? :abort
- :dependencies [[org.clojure/clojure]
- [org.clojure/tools.logging]
- [org.clojure/tools.cli]
-
- [clj-time]
- [clj-commons/fs]
- [slingshot]
- [cheshire]
-
- [org.ini4j/ini4j "0.5.2"]
- [org.tcrawley/dynapath]
- [digest "1.4.3"]
+ :dependencies [[org.clojure/clojure "1.10.x"]
+ [org.clojure/tools.logging "debian"]
+ [org.clojure/tools.cli "debian"]
+
+ [clj-time "debian"]
+ [clj-commons/fs "debian"]
+ [slingshot "debian"]
+ [cheshire "debian"]
+
+ [org.ini4j/ini4j "debian"]
+ [org.tcrawley/dynapath "debian"]
+ [digest "debian"]
+
+ [com.fasterxml.jackson.core/jackson-core "2.x"]
+ [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.x"]
+ [com.fasterxml.jackson.dataformat/jackson-dataformat-cbor "2.x"]
]
;; By declaring a classifier here and a corresponding profile below we'll get an additional jar
@@ -35,10 +36,6 @@
:profiles {:testutils {:source-paths ^:replace ["test"]}}
- ;; this plugin is used by jenkins jobs to interrogate the project version
- :plugins [[lein-project-version "0.1.0"]
- [lein-parent "0.3.7"]]
-
:test-selectors {:default (complement :slow)
:slow :slow}
@@ -46,4 +43,5 @@
:username :env/clojars_jenkins_username
:password :env/clojars_jenkins_password
:sign-releases false}]
- ["snapshots" "http://nexus.delivery.puppetlabs.net/content/repositories/snapshots/"]])
+ ["snapshots" "http://nexus.delivery.puppetlabs.net/content/repositories/snapshots/"]]
+ :local-repo "debian/maven-repo")
|