-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
35 lines (31 loc) · 1.57 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
(def springframework-version "3.2.11.RELEASE")
(defn fail-fn [& xs]
(.println System/out "DUPLICATE! Throwing excpetion!")
(throw (Error. "Cannot merge")))
(defproject spring-break "0.1.0-SNAPSHOT"
:description "A Clojure library for Clojure/Spring integration."
:url "https://github.com/henrik42/spring-break/"
:dependencies [[org.clojure/clojure "1.5.1"]
[swank-clojure "1.4.3"]
[org.clojure/tools.nrepl "0.2.5"]
[org.clojure/java.jmx "0.3.0"]
[org.springframework/spring-core ~springframework-version]
[org.springframework/spring-context ~springframework-version]
[org.springframework/spring-beans ~springframework-version]]
:source-paths ["src/main/clojure"]
;;:uberjar-merge-with { #".*" [fail-fn fail-fn fail-fn]}
;;:resource-paths ["resources" "dummy-data"]
:java-source-paths ["src/main/java"]
:test-paths ["src/test/clojure"]
:main spring-break.core
;; :aot [spring-break.core] ;; Implicit AOT of :main will be removed in Leiningen 3.0.0.
:java-cmd "/opt/jdk1.8.0/bin/java"
:local-repo "local-m2"
:profiles {:server-app {:jvm-opts ["-Dwait-for-sac-close"]}
:jmx-server-app [:server-app
{:jvm-opts
["-Dcom.sun.management.jmxremote"
"-Dcom.sun.management.jmxremote.port=9999"
"-Dcom.sun.management.jmxremote.authenticate=false"
"-Dcom.sun.management.jmxremote.ssl=false"]}]
})