aboutsummaryrefslogtreecommitdiffstats
path: root/project.clj
blob: 5103799fe94b300e336ba1cce9a4414980483e3d (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
74
75
76
77
78
79
80
81
82
83
84
(defproject org.onap.aai/chameleon "1.3.0-SNAPSHOT"
  :name "chameleon"
  :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/"}]
                 ["ecomp-staging" {:name "ECOMP Staging Repository" :url "https://nexus.onap.org/content/repositories/staging/"}]
                 ["ecomp-snapshots" {:name "ECOMP Snapshot Repository" :url "https://nexus.onap.org/content/repositories/snapshots/"}]]
  :min-lein-version "2.5.3"
  :pom-addition [:distributionManagement
                 [:repository
                  [:id "ecomp-releases"]
                  [:name "ECOMP Release Repository"]
                  [:url "https://nexus.onap.org/content/repositories/releases/"]]
                 [:snapshotRepository
                  [:id "ecomp-snapshot"]
                  [:name "ECOMP Snapshot Repository"]
                  [: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"])]])}]
                [org.sonatype.plugins/nexus-staging-maven-plugin "1.6.7"
                 {:extensions true
                  :configuration ([:nexusUrl "https://nexus.onap.org"]
                                  [:stagingProfileId "176c31dfe190a"]
                                  [:serverId "ecomp-staging"])}]
                [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"]])}]])