-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathproject.clj
65 lines (53 loc) · 2.99 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
(defproject puppetlabs/trapperkeeper-authorization "2.0.2-SNAPSHOT"
:description "Trapperkeeper authorization system"
:url "http://github.com/puppetlabs/trapperkeeper-authorization"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:min-lein-version "2.7.1"
:parent-project {:coords [puppetlabs/clj-parent "5.5.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]
[slingshot]
[prismatic/schema]
[ring/ring-codec]
[puppetlabs/kitchensink]
[puppetlabs/trapperkeeper]
[puppetlabs/rbac-client]
[puppetlabs/ring-middleware]
[puppetlabs/ssl-utils]
[puppetlabs/i18n]]
;; By declaring a classifier here and a corresponding profile below we'll get an additional jar
;; during `lein jar` that has all the code in the test/ directory. Downstream projects can then
;; depend on this test jar using a :classifier in their :dependencies to reuse the test utility
;; code that we have.
:classifiers [["test" :testutils]]
:profiles {:dev {:aliases {"ring-example"
["trampoline" "run"
"-b" "./examples/ring_app/bootstrap.cfg"
"-c" "./examples/ring_app/ring-example.conf"]}
:source-paths ["examples/ring_app/src"]
:dependencies [[puppetlabs/trapperkeeper-webserver-jetty9]
[puppetlabs/trapperkeeper nil :classifier "test" :scope "test"]
[puppetlabs/kitchensink nil :classifier "test" :scope "test"]
[org.clojure/tools.namespace "1.4.1"]
[org.bouncycastle/bcprov-jdk18on]
[org.bouncycastle/bcpkix-jdk18on]
[ring/ring-mock]]}
:testutils {:source-paths ^:replace ["test"]}}
;; this plugin is used by jenkins jobs to interrogate the project version
:plugins [[lein-parent "0.3.9"]
[jonase/eastwood "1.2.2" :exclusions [org.clojure/clojure]]
[puppetlabs/i18n "0.9.2"]]
:lein-release {:scm :git
:deploy-via :lein-deploy}
:deploy-repositories [["releases" {:url "https://clojars.org/repo"
:username :env/clojars_jenkins_username
:password :env/clojars_jenkins_password
:sign-releases false}]
["snapshots" "http://nexus.delivery.puppetlabs.net/content/repositories/snapshots/"]]
:main puppetlabs.trapperkeeper.main)