forked from puppetlabs/puppetdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
74 lines (69 loc) · 3.22 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
(require '[clojure.string :as s])
(use '[clojure.java.shell :only (sh)]
'[clojure.java.io :only (file)])
(def version-string
(memoize
(fn []
"Determine the version number using 'rake version -s'"
[]
(if (.exists (file "version"))
(s/trim (slurp "version"))
(let [command ["rake" "package:version" "-s"]
{:keys [exit out err]} (apply sh command)]
(if (zero? exit)
(s/trim out)
"0.0-dev-build"))))))
(defproject puppetdb (version-string)
:description "Puppet-integrated catalog and fact storage"
:dependencies [[org.clojure/clojure "1.5.1"]
[cheshire "5.2.0"]
[org.clojure/core.match "0.2.0-rc5"]
[org.clojure/math.combinatorics "0.0.4"]
[org.clojure/tools.logging "0.2.6"]
[org.clojure/tools.cli "0.2.2"]
[org.clojure/tools.nrepl "0.2.3"]
[org.clojure/tools.namespace "0.2.4"]
[swank-clojure "1.4.3"]
[vimclojure/server "2.3.6" :exclusions [org.clojure/clojure]]
[clj-stacktrace "0.2.6"]
[metrics-clojure "0.7.0" :exclusions [org.clojure/clojure org.slf4j/slf4j-api]]
[clj-time "0.5.1"]
[org.clojure/java.jmx "0.2.0"]
;; Filesystem utilities
[fs "1.1.2"]
;; Configuration file parsing
[org.ini4j/ini4j "0.5.2"]
;; Version information
[trptcolin/versioneer "0.1.0"]
;; Job scheduling
[overtone/at-at "1.2.0"]
;; Nicer exception handling with try+/throw+
[slingshot "0.10.3"]
[digest "1.4.3"]
[log4j "1.2.17" :exclusions [javax.mail/mail
javax.jms/jms
com.sun.jdmk/jmxtools
com.sun.jmx/jmxri]]
;; Database connectivity
[com.jolbox/bonecp "0.7.1.RELEASE" :exclusions [org.slf4j/slf4j-api]]
[org.slf4j/slf4j-log4j12 "1.7.5"]
[org.clojure/java.jdbc "0.1.1"]
[org.hsqldb/hsqldb "2.2.8"]
[postgresql/postgresql "9.1-901-1.jdbc4"]
[clojureql "1.0.3"]
;; MQ connectivity
[clamq/clamq-activemq "0.4" :exclusions [org.slf4j/slf4j-api]]
[org.apache.activemq/activemq-core "5.6.0" :exclusions [org.slf4j/slf4j-api org.fusesource.fuse-extra/fusemq-leveldb]]
;; WebAPI support libraries.
[net.cgrand/moustache "1.1.0" :exclusions [ring/ring-core org.clojure/clojure]]
[clj-http "0.5.3"]
[ring/ring-core "1.1.8"]
[ring/ring-jetty-adapter "1.1.8"]
[org.apache.commons/commons-compress "1.4.1"]
[org.bouncycastle/bcpkix-jdk15on "1.49"]]
:profiles {:dev {:resource-paths ["test-resources"],
:dependencies [[ring-mock "0.1.5"]]}}
:jar-exclusions [#"leiningen/"]
:aot [com.puppetlabs.puppetdb.core]
:main com.puppetlabs.puppetdb.core
)