From 985b15821e37a82d90ca8939058f0a197558c3a1 Mon Sep 17 00:00:00 2001 From: MichaelArrastia Date: Thu, 22 Mar 2018 16:49:59 +0000 Subject: [PATCH] Support maven deploy and docker build targets This commit principally includes the following pom updates: 1. Add distributionManagement to fix jobs that run maven deploy. 2. Update way in which champ-service gets the graph-deps. This change specifically supports the docker build. Issue-ID: AAI-927 Change-Id: I5920de3c010b810a802f95ac82da89ea3989e7d9 Signed-off-by: MichaelArrastia --- champ-lib/pom.xml | 6 ++++++ champ-service-deps-janus/pom.xml | 8 +++++++- champ-service-deps-titan/pom.xml | 10 ++++++++-- champ-service/pom.xml | 22 ++++++++++++++++++++++ pom.xml | 19 ++++++++++++++++++- 5 files changed, 61 insertions(+), 4 deletions(-) diff --git a/champ-lib/pom.xml b/champ-lib/pom.xml index 32e716e..e6dd2f3 100644 --- a/champ-lib/pom.xml +++ b/champ-lib/pom.xml @@ -27,6 +27,12 @@ limitations under the License. pom 1.2.0-SNAPSHOT + + org.onap.aai + champ + 1.2.0-SNAPSHOT + + champ-core champ-titan diff --git a/champ-service-deps-janus/pom.xml b/champ-service-deps-janus/pom.xml index b8cbfb4..fcf019a 100644 --- a/champ-service-deps-janus/pom.xml +++ b/champ-service-deps-janus/pom.xml @@ -27,6 +27,12 @@ limitations under the License. pom 1.2.0-SNAPSHOT + + org.onap.aai + champ + 1.2.0-SNAPSHOT + + org.onap.aai @@ -97,7 +103,7 @@ limitations under the License. copy-dependencies - ../champ-service/target/graph-deps/janus-deps + target/graph-deps/janus-deps false false true diff --git a/champ-service-deps-titan/pom.xml b/champ-service-deps-titan/pom.xml index e434618..d1046ed 100644 --- a/champ-service-deps-titan/pom.xml +++ b/champ-service-deps-titan/pom.xml @@ -26,7 +26,13 @@ limitations under the License. champ-service-deps-titan pom 1.2.0-SNAPSHOT - + + + org.onap.aai + champ + 1.2.0-SNAPSHOT + + org.onap.aai @@ -95,7 +101,7 @@ limitations under the License. copy-dependencies - ../champ-service/target/graph-deps/titan-deps + target/graph-deps/titan-deps false false true diff --git a/champ-service/pom.xml b/champ-service/pom.xml index 57234c0..1717648 100644 --- a/champ-service/pom.xml +++ b/champ-service/pom.xml @@ -49,6 +49,9 @@ limitations under the License. org.onap.aai.logging-service 1.2.0 4.5.2 + + ${basedir}/target + https://nexus.onap.org @@ -136,6 +139,19 @@ limitations under the License. + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${onap.nexus.url}/content/repositories/snapshots/ + + + ${project.artifactId} @@ -164,6 +180,12 @@ limitations under the License. ${basedir}/src/main/bin/ + + ../champ-service-deps-janus/target/ + + + ../champ-service-deps-titan/target/ + diff --git a/pom.xml b/pom.xml index 27cb7f3..8b05b02 100755 --- a/pom.xml +++ b/pom.xml @@ -28,11 +28,28 @@ limitations under the License. pom 1.2.0-SNAPSHOT + + https://nexus.onap.org + + champ-lib - champ-service champ-service-deps-janus champ-service-deps-titan + champ-service + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${onap.nexus.url}/content/repositories/snapshots/ + + + \ No newline at end of file -- 2.16.6