aboutsummaryrefslogtreecommitdiffstats
path: root/project.clj
diff options
context:
space:
mode:
authorC.T. Paterson <ctpaterson+onap@gmail.com>2018-09-20 14:35:38 -0400
committerC.T. Paterson <ctpaterson+onap@gmail.com>2018-09-20 14:35:38 -0400
commit2a921ed1e1daaf2f36dbdbb316370cf344ec49c7 (patch)
treed87b8817d78951bef15aee24308ee2e0f76b289c /project.clj
parent330f1cb56cfafd1508438139dadc7cc645262ec6 (diff)
Setup for build jobs for gallifrey
Change-Id: Iba515685aaaa8f33b17a4690a888cea7be23351a Issue-ID: AAI-1651 Signed-off-by: C.T. Paterson <ctpaterson+onap@gmail.com>
Diffstat (limited to 'project.clj')
-rw-r--r--project.clj48
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"]])}]])