aboutsummaryrefslogtreecommitdiffstats
path: root/project.clj
blob: 4b789705b601414a06e5daa6ef5ada89678cff62 (plain)
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
(defproject chameleon "0.1.0"
  :dependencies [[org.clojure/clojure "1.9.0"]
                 [org.clojure/core.async "0.4.474"]
                 [com.7theta/utilis "1.0.4"]
                 [http-kit "2.2.0"]
                 [ring/ring-core "1.6.3"]
                 [ring/ring-defaults "0.3.1"]
                 [ring/ring-anti-forgery "1.1.0"]
                 [compojure "1.6.0"]
                 [liberator "0.15.1"]
                 [cheshire "5.7.1"]
                 [inflections "0.13.0"]
                 [clj-time "0.14.2"]
                 [integrant "0.6.2"]
                 [yogthos/config "0.9"]
                 [org.onap.aai.event-client/event-client-dmaap "1.3.0"]
                 [org.onap.aai.event-client/event-client-kafka "1.3.0"]
                 [org.onap.aai.logging-service/common-logging "1.2.2"]
                 [camel-snake-kebab "0.4.0"]
                 [metosin/ring-http-response "0.9.0"]
                 [org.clojure/test.check "0.9.0"]
                 [cloverage/cloverage "1.0.10"]]
  :plugins [[lein-cloverage "1.0.10"]]
  :repositories [["onap-releases" {:url "https://nexus.onap.org/content/repositories/releases/"}]
                 ["onap-public" {:url "https://nexus.onap.org/content/repositories/public/"}]
                 ["onap-staging" {:url "https://nexus.onap.org/content/repositories/staging/"}]
                 ["onap-snapshot" {:url "https://nexus.onap.org/content/repositories/snapshots/"}]]
  :min-lein-version "2.5.3"
  :pom-addition [:distributionManagement [:repository [:id "onap-releases"]
                                          [:url "https://nexus.onap.org/content/repositories/releases/"]]
                 [:snapshotRepository [:id "onap-snapshot"]
                  [:url "https://nexus.onap.org/content/repositories/snapshots/"]]]
  :profiles {:dev {:source-paths ["dev"]
                   :dependencies [[ring/ring-devel "1.6.3"]
                                  [integrant/repl "0.2.0"]]}
             :uberjar {:source-paths ["prod"]
                       :main chameleon.server
                       :aot [chameleon.server]
                       :uberjar-name "chameleon.jar"}}
  :prep-tasks ["compile"]
  :source-paths ["src" "prod" "test"]
  :resource-paths ["resources"]
  :pom-plugins [[com.theoryinpractise/clojure-maven-plugin "1.3.13"
                 {:extensions "true"
                  :configuration [:sourceDirectories
                                  [:sourceDirectory "src"]
                                  [:sourceDirectory "prod"]
                                  [:sourceDirectory "test"]]
                  :executions ([:execution [:id "compile"]
                                [:goals ([:goal "compile"])]
                                [:phase "compile"]])}]
                [org.apache.maven.plugins/maven-jar-plugin "2.4"
                 {:configuration [:archive [:manifest
                                            [:addClasspath true]
                                            [:mainClass "chameleon.server"]
                                            [:classpathPrefix "dependency"]]]}]
                [org.apache.maven.plugins/maven-dependency-plugin "2.8"
                 {:executions ([:execution [:id "copy-dependencies"]
                                [:goals ([:goal "copy-dependencies"])]
                                [:phase "package"]])}]
                [org.apache.maven.plugins/maven-assembly-plugin "2.4.1"
                 {:configuration ([:descriptorRefs [:descriptorRef "jar-with-dependencies"]]
                                  [:archive [:manifest
                                             [:mainClass "chameleon.server"]]])
                  :executions ([:execution [:id "assemble"]
                                [:phase "package"]
                                [:goals ([:goal "single"])]])}]
                [com.spotify/dockerfile-maven-plugin "1.4.4"
                 {:configuration ([:tag "latest"]
                                  [:repository "${docker.push.registry}/onap/chameleon"]
                                  [:verbose true]
                                  [:serverId "docker-hub"])
                  :executions ([:execution [:id "default"]])}]])