-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
89 lines (88 loc) · 4.14 KB
/
project.clj
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
(defproject gov.usgs.eros/lcmap-event "1.0.0-SNAPSHOT"
:parent-project {
:coords [gov.usgs.eros/lcmap-system "1.0.0-SNAPSHOT"]
:inherit [
:deploy-repositories
:license
:managed-dependencies
:plugins
:pom-addition
:repositories
:target-path]}
;; XXX The following can be un-commented once this issue is resolved:
;; * https://github.com/achin/lein-parent/issues/3
;; [:profiles [:uberjar :dev]]
:description "LCMAP Event System"
:url "https://github.com/USGS-EROS/lcmap-event"
:dependencies [[org.clojure/clojure]
[org.clojure/core.match]
[org.clojure/data.codec]
[org.clojure/data.json]
[org.clojure/data.xml]
[org.clojure/core.memoize]
;; Componentization
[com.stuartsierra/component]
;; Logging and Error Handling -- note that we need to explicitly pull
;; in a version of slf4j so that we don't get conflict messages on the
;; console
[dire]
[slingshot]
;; Messaging
[com.novemberain/langohr]
;; LCMAP Components
[gov.usgs.eros/lcmap-config]
[gov.usgs.eros/lcmap-logger]
[gov.usgs.eros/lcmap-client-clj]
[gov.usgs.eros/lcmap-commons]
;; XXX note that we may still need to explicitly include the
;; Apache Java HTTP client, since the version used by the LCMAP
;; client is more recent than that used by Chas Emerick's
;; 'friend' library (the conflict causes a compile error which
;; is worked around by explicitly including Apache Java HTTP
;; client library).
;; XXX temp dependencies:
[org.apache.httpcomponents/httpclient]
[clojure-ini]
[clj-http]
;; Data types, encoding, etc.
[byte-streams]
[clj-time]
[commons-codec]
;; Dev and project metadata
[leiningen-core]]
:plugins [[lein-parent "0.3.0"]]
:source-paths ["src"]
:repl-options {:init-ns lcmap.event.dev}
:main lcmap.event.app
:codox {:project {:name "lcmap.event"
:description "The Event Subscription and Notification Component for the USGS Land Change Monitoring Assessment and Projection (LCMAP) Computation and Analysis Platform"}
:namespaces [#"^lcmap.event\."]
:output-path "docs/master/current"
:doc-paths ["docs/source"]
:metadata {:doc/format :markdown
:doc "Documentation forthcoming"}}
;; List the namespaces whose log levels we want to control; note that if we
;; add more dependencies that are chatty in the logs, we'll want to add them
;; here.
:logging-namespaces [lcmap.event
lcmap.client]
:profiles {
:uberjar {:aot :all}
;; configuration for dev environment -- if you need to make local changes,
;; copy `:env { ... }` into `{:user ...}` in your ~/.lein/profiles.clj and
;; then override values there
:dev {
:dependencies [[org.clojure/tools.namespace "0.3.0-alpha3"]
[slamhound "1.5.5"]]
:aliases {"slamhound" ["run" "-m" "slam.hound"]}
:source-paths ["dev-resources/src"]
:env
{:active-profile "development"
:messaging {:host "127.0.0.1"
:port 5672
:vhost "/lcmap"
:default-exchange-name "lcmap.event"
:default-queue-name "lcmap.event-stream"}}}
:testing {
:env {
:log-level :info}}})