From 07f3e0fae997b91188c884e4a8b38a176d1262e0 Mon Sep 17 00:00:00 2001 From: "C.T. Paterson" Date: Wed, 5 Sep 2018 17:03:34 -0400 Subject: Fixing pom file for JJB compliance Change-Id: I9c5808642b611f2c2db9c0ea2812c3d7afdd77a8 Issue-ID: AAI-1547 Signed-off-by: C.T. Paterson --- pom.xml | 27 ++++++++++++++++++++------- project.clj | 23 +++++++++++++++++------ 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 609c4dd..71b9884 100644 --- a/pom.xml +++ b/pom.xml @@ -1,13 +1,13 @@ 4.0.0 - chameleon + org.onap.aai chameleon jar 1.3.0-SNAPSHOT - chameleon + aai-chameleon - 1586036fd345c240982237b76469a1f5d04d122d + 934764b1ae39555f22bae124bc41c7cab67503bd src @@ -99,6 +99,17 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + https://nexus.onap.org + 176c31dfe190a + ecomp-staging + + com.spotify dockerfile-maven-plugin @@ -179,7 +190,7 @@ - onap-staging + ecomp-staging https://nexus.onap.org/content/repositories/staging/ true @@ -189,7 +200,7 @@ - onap-snapshot + ecomp-snapshots https://nexus.onap.org/content/repositories/snapshots/ true @@ -323,11 +334,13 @@ - onap-releases + ecomp-releases + ECOMP Release Repository https://nexus.onap.org/content/repositories/releases/ - onap-snapshot + ecomp-snapshot + ECOMP Snapshot Repository https://nexus.onap.org/content/repositories/snapshots/ diff --git a/project.clj b/project.clj index d51495d..5103799 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,5 @@ -(defproject chameleon "1.3.0-SNAPSHOT" +(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"] @@ -23,12 +24,17 @@ :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/"}]] + ["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 "onap-releases"] - [:url "https://nexus.onap.org/content/repositories/releases/"]] - [:snapshotRepository [:id "onap-snapshot"] + :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"] @@ -65,6 +71,11 @@ :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"] -- cgit 1.2.3-korg