diff options
Diffstat (limited to 'project.clj')
-rw-r--r-- | project.clj | 48 |
1 files changed, 46 insertions, 2 deletions
diff --git a/project.clj b/project.clj index 8637676..ccc5984 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject gallifrey "0.4.0" +(defproject gallifrey "1.3.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.8.0"] [com.7theta/utilis "1.0.4"] @@ -27,4 +27,48 @@ :uberjar {:source-paths ["prod"] :main gallifrey.server :uberjar-name "gallifrey.jar"}} - :prep-tasks ["compile"]) + :prep-tasks ["compile"] + :repositories [["ecomp-snapshots" {:name "ECOMP Snapshot Repository" :url "https://nexus.onap.org/content/repositories/snapshots/"}] + ["onap-releases" {:url "https://nexus.onap.org/content/repositories/releases/"}]] + :pom-addition [:distributionManagement + [:repository + [:id "ecomp-releases"] + [:name "ECOMP Release Repository"] + [:url "https://nexus.onap.org/content/repositories/releases/"]] + [:snapshotRepository + [:id "ecomp-snapshots"] + [:name "ECOMP Snapshot Repository"] + [:url "https://nexus.onap.org/content/repositories/snapshots/"]]] + :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 "gallifrey.server"] + [:classpathPrefix "dependency"]]]}] + [org.apache.maven.plugins/maven-dependency-plugin "2.8" + {:executions ([:execution [:id "copy-dependencies"] + [:goals ([:goal "copy-dependencies"])] + [:phase "package"]])}] + [org.sonatype.plugins/nexus-staging-maven-plugin "1.6.7" + {:extensions true + :configuration ([:nexusUrl "https://nexus.onap.org"] + [:stagingProfileId "176c31dfe190a"] + [:serverId "ecomp-staging"])}] + [org.apache.maven.plugins/maven-shade-plugin "3.2.0" + {:executions ([:execution + [:phase "package"] + [:goals ([:goal "shade"])]])}] + [com.spotify/dockerfile-maven-plugin "1.4.4" + {:configuration ([:tag "latest"] + [:repository "${docker.push.registry}/onap/gallifrey"] + [:verbose true] + [:serverId "docker-hub"]) + :executions ([:execution [:id "default"]])}]]) |