Package: trapperkeeper-clojure / 3.1.0-2

0002_Lein_Local.patch Patch series | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Patch project.clj to build locally with lein.
Index: trapperkeeper-clojure/project.clj
===================================================================
--- trapperkeeper-clojure.orig/project.clj
+++ trapperkeeper-clojure/project.clj
@@ -6,42 +6,44 @@
 
   :min-lein-version "2.9.0"
 
-  :parent-project {:coords [puppetlabs/clj-parent "4.0.1"]
-                   :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.macro]
-                 [org.clojure/core.async]
+  :dependencies [[org.clojure/clojure "1.10.x"]
+                 [org.clojure/tools.logging "debian"]
+                 [org.clojure/tools.macro "debian"]
+                 [org.clojure/core.async "debian"]
 
-                 [org.slf4j/log4j-over-slf4j]
-                 [ch.qos.logback/logback-classic]
+                 [org.slf4j/log4j-over-slf4j "debian"]
+                 [ch.qos.logback/logback-classic "debian"]
                  ;; even though we don't strictly have a dependency on the following two
                  ;; logback artifacts, specifying the dependency version here ensures
                  ;; that downstream projects don't pick up different versions that would
                  ;; conflict with our version of logback-classic
-                 [ch.qos.logback/logback-core]
-                 [ch.qos.logback/logback-access]
+                 [ch.qos.logback/logback-core "debian"]
+                 [ch.qos.logback/logback-access "debian"]
                  ;; Janino can be used for some advanced logback configurations
-                 [org.codehaus.janino/janino]
-
-                 [clj-time]
-                 [clj-commons/fs]
-                 [clj-commons/clj-yaml]
-
-                 [prismatic/plumbing]
-                 [prismatic/schema]
-
-                 [beckon]
+                 [org.codehaus.janino/janino "debian"]
 
-                 [puppetlabs/typesafe-config]
-                 [puppetlabs/kitchensink]
-                 [puppetlabs/i18n]
-                 [nrepl/nrepl]
+                 [clj-time "debian"]
+                 [clj-commons/fs "debian"]
+                 [clj-commons/clj-yaml "debian"]
+
+                 [prismatic/plumbing "debian"]
+                 [prismatic/schema "debian"]
+
+                 [beckon "debian"]
+
+                 [puppetlabs/typesafe-config "debian"]
+                 [puppetlabs/kitchensink "debian"]
+                 [puppetlabs/i18n "debian"]
+                 [nrepl/nrepl "debian"]
+
+                 [org.yaml/snakeyaml "1.x"]
+                 [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"]
                  ]
 
   :deploy-repositories [["releases" {:url "https://clojars.org/repo"
@@ -65,14 +67,17 @@
              :dev {:source-paths ["examples/shutdown_app/src"
                                   "examples/java_service/src/clj"]
                    :java-source-paths ["examples/java_service/src/java"]
-                   :dependencies [[puppetlabs/kitchensink :classifier "test"]]}
+                   :dependencies [[puppetlabs/kitchensink "debian" :classifier "test"]]}
 
              :testutils {:source-paths ^:replace ["test"]}
              :uberjar {:aot [puppetlabs.trapperkeeper.main]
                        :classifiers ^:replace []}}
 
-  :plugins [[lein-parent "0.3.7"]
-            [puppetlabs/i18n "0.8.0"]]
+  :plugins [[puppetlabs/i18n "debian" :exclusions [[org.clojure/clojure]
+                                                   [com.fasterxml.jackson.core/jackson-core]
+                                                   [com.fasterxml.jackson.dataformat/jackson-dataformat-smile]
+                                                   [com.fasterxml.jackson.dataformat/jackson-dataformat-cbor]]]]
 
   :main puppetlabs.trapperkeeper.main
+  :local-repo "debian/maven-repo"
   )