diff options
author | C.T. Paterson <ctpaterson+onap@gmail.com> | 2018-09-05 17:03:34 -0400 |
---|---|---|
committer | C.T. Paterson <ctpaterson+onap@gmail.com> | 2018-09-06 10:19:41 -0400 |
commit | 07f3e0fae997b91188c884e4a8b38a176d1262e0 (patch) | |
tree | 0b9b3fcb48e3b1bb73f7cf91f083d464fc836a3e | |
parent | d0dceef6a3504a376cc689afc119ef15a56b5f7a (diff) |
Fixing pom file for JJB compliance
Change-Id: I9c5808642b611f2c2db9c0ea2812c3d7afdd77a8
Issue-ID: AAI-1547
Signed-off-by: C.T. Paterson <ctpaterson+onap@gmail.com>
-rw-r--r-- | pom.xml | 27 | ||||
-rw-r--r-- | project.clj | 23 |
2 files changed, 37 insertions, 13 deletions
@@ -1,13 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>chameleon</groupId> + <groupId>org.onap.aai</groupId> <artifactId>chameleon</artifactId> <packaging>jar</packaging> <version>1.3.0-SNAPSHOT</version> - <name>chameleon</name> + <name>aai-chameleon</name> <description/> <scm> - <tag>1586036fd345c240982237b76469a1f5d04d122d</tag> + <tag>934764b1ae39555f22bae124bc41c7cab67503bd</tag> </scm> <build> <sourceDirectory>src</sourceDirectory> @@ -100,6 +100,17 @@ </executions> </plugin> <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <nexusUrl>https://nexus.onap.org</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + <plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> <version>1.4.4</version> @@ -179,7 +190,7 @@ </releases> </repository> <repository> - <id>onap-staging</id> + <id>ecomp-staging</id> <url>https://nexus.onap.org/content/repositories/staging/</url> <snapshots> <enabled>true</enabled> @@ -189,7 +200,7 @@ </releases> </repository> <repository> - <id>onap-snapshot</id> + <id>ecomp-snapshots</id> <url>https://nexus.onap.org/content/repositories/snapshots/</url> <snapshots> <enabled>true</enabled> @@ -323,11 +334,13 @@ </dependencies> <distributionManagement> <repository> - <id>onap-releases</id> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> <url>https://nexus.onap.org/content/repositories/releases/</url> </repository> <snapshotRepository> - <id>onap-snapshot</id> + <id>ecomp-snapshot</id> + <name>ECOMP Snapshot Repository</name> <url>https://nexus.onap.org/content/repositories/snapshots/</url> </snapshotRepository> </distributionManagement> 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"] |