|
| 1 | +(def trapperkeeper-version "4.3.0") |
| 2 | +(def trapperkeeper-webserver-jetty10-version "1.1.0") |
| 3 | +(def i18n-version "1.0.2") |
| 4 | +(def slf4j-version "2.0.17") |
| 5 | + |
1 | 6 | (defproject org.openvoxproject/http-client "2.2.1-SNAPSHOT" |
2 | 7 | :description "HTTP client wrapper" |
3 | 8 | :license {:name "Apache License, Version 2.0" |
4 | 9 | :url "http://www.apache.org/licenses/LICENSE-2.0.html"} |
5 | 10 |
|
6 | 11 | :min-lein-version "2.9.1" |
7 | 12 |
|
8 | | - :parent-project {:coords [org.openvoxproject/clj-parent "7.6.3"] |
9 | | - :inherit [:managed-dependencies]} |
10 | | - |
11 | 13 | ;; Abort when version ranges or version conflicts are detected in |
12 | 14 | ;; dependencies. Also supports :warn to simply emit warnings. |
13 | 15 | ;; requires lein 2.2.0+. |
14 | 16 | :pedantic? :abort |
15 | 17 |
|
16 | | - :dependencies [[org.clojure/clojure] |
| 18 | + ;; These are to enforce consistent versions across dependencies of dependencies, |
| 19 | + ;; and to avoid having to define versions in multiple places. If a component |
| 20 | + ;; defined under :dependencies ends up causing an error due to :pedantic? :abort, |
| 21 | + ;; because it is a dep of a dep with a different version, move it here. |
| 22 | + :managed-dependencies [[org.clojure/clojure "1.11.2"] |
| 23 | + [org.slf4j/slf4j-api ~slf4j-version] |
| 24 | + [org.slf4j/jul-to-slf4j ~slf4j-version] |
| 25 | + [commons-codec "1.15"] |
| 26 | + [org.bouncycastle/bcpkix-jdk18on "1.83"] |
| 27 | + [org.bouncycastle/bcpkix-fips "1.0.8"] |
| 28 | + [org.bouncycastle/bc-fips "1.0.2.6"] |
| 29 | + [org.bouncycastle/bctls-fips "1.0.19"]] |
17 | 30 |
|
18 | | - [org.apache.httpcomponents/httpasyncclient] |
19 | | - [prismatic/schema] |
20 | | - [commons-io] |
21 | | - [io.dropwizard.metrics/metrics-core] |
22 | | - |
23 | | - [org.openvoxproject/ssl-utils] |
24 | | - [org.openvoxproject/i18n] |
| 31 | + :dependencies [[org.clojure/clojure] |
25 | 32 |
|
| 33 | + [org.apache.httpcomponents/httpasyncclient "4.1.5"] |
| 34 | + [prismatic/schema "1.1.12"] |
| 35 | + [commons-io "2.20.0"] |
| 36 | + [io.dropwizard.metrics/metrics-core "3.2.2"] |
| 37 | + |
| 38 | + [org.openvoxproject/ssl-utils "3.6.1"] |
| 39 | + [org.openvoxproject/i18n ~i18n-version] |
| 40 | + |
26 | 41 | [org.slf4j/jul-to-slf4j]] |
27 | 42 |
|
28 | 43 | :source-paths ["src/clj"] |
|
35 | 50 | :classifiers [["sources" :sources-jar]] |
36 | 51 |
|
37 | 52 | :profiles {:provided {:dependencies [[org.bouncycastle/bcpkix-jdk18on]]} |
38 | | - :defaults {:dependencies [[cheshire] |
39 | | - [org.openvoxproject/kitchensink :classifier "test"] |
40 | | - [org.openvoxproject/trapperkeeper] |
41 | | - [org.openvoxproject/trapperkeeper :classifier "test"]] |
| 53 | + :defaults {:dependencies [[cheshire "5.10.2"] |
| 54 | + [org.openvoxproject/kitchensink "3.5.3" :classifier "test"] |
| 55 | + [org.openvoxproject/trapperkeeper ~trapperkeeper-version] |
| 56 | + [org.openvoxproject/trapperkeeper ~trapperkeeper-version :classifier "test"]] |
42 | 57 | :resource-paths ["dev-resources"] |
43 | 58 | :jvm-opts ["-Djava.util.logging.config.file=dev-resources/logging.properties"]} |
44 | 59 | :dev-deps {:dependencies [[org.bouncycastle/bcpkix-jdk18on]]} |
45 | 60 | :dev [:defaults :dev-deps :test] |
46 | | - ;; These dependencies are only used for tests. When we are doing clj-parent updates and updating |
47 | | - ;; trapperkeeper-webserver-jetty10 and/or ring-middleware at the same time as updating this project |
48 | | - ;; we end up with circular dependency issues, since we have to make version bumps in clj-parent first. |
49 | | - ;; To avoid this, we pull in whatever the latest we can find on clojars is at test time, since it shouldn't |
50 | | - ;; matter too terribly much. Ignore the warning that appears when runninng `lein test`. |
51 | 61 | :test {:pedantic? :warn |
52 | | - :dependencies [[org.openvoxproject/trapperkeeper-webserver-jetty10 "[1.0.0,)"] |
53 | | - [org.openvoxproject/trapperkeeper-webserver-jetty10 "[1.0.0,)":classifier "test"] |
54 | | - [org.openvoxproject/ring-middleware "[2.0.0,)"]]} |
| 62 | + :dependencies [[org.openvoxproject/trapperkeeper-webserver-jetty10 ~trapperkeeper-webserver-jetty10-version] |
| 63 | + [org.openvoxproject/trapperkeeper-webserver-jetty10 ~trapperkeeper-webserver-jetty10-version :classifier "test"] |
| 64 | + [org.openvoxproject/ring-middleware "2.1.0"]]} |
55 | 65 | :fips-deps {:dependencies [[org.bouncycastle/bcpkix-fips] |
56 | 66 | [org.bouncycastle/bc-fips] |
57 | 67 | [org.bouncycastle/bctls-fips]] |
|
80 | 90 | :lein-release {:scm :git |
81 | 91 | :deploy-via :lein-deploy} |
82 | 92 |
|
83 | | - :plugins [[lein-parent "0.3.9"] |
84 | | - [jonase/eastwood "1.4.3" :exclusions [org.clojure/clojure]] |
85 | | - [org.openvoxproject/i18n "1.0.2"]] |
| 93 | + :plugins [[jonase/eastwood "1.4.3" :exclusions [org.clojure/clojure]] |
| 94 | + [org.openvoxproject/i18n ~i18n-version]] |
86 | 95 |
|
87 | 96 | :eastwood {:continue-on-exception true |
88 | 97 | :exclude-namespaces [;; linting this test throws and exception as test-utils/load-test-config |
|
0 commit comments