summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstark, steven <ss820f@att.com>2018-04-10 14:13:43 -0700
committerstark, steven <ss820f@att.com>2018-04-10 14:14:30 -0700
commit31422d3f86666f69f096c336584020a4c589cc2e (patch)
tree18c24910814f4b7ca6915a3dcf821e2b095bc860
parentcc89931b0d7a948e2f53f73c149cb4572e5aef1b (diff)
[VVP] modify pom to fix sonar jenkins build
added nexus url property definition added docker push and pull reg definitions Change-Id: Ibaa3f22a1d9aca362a0fee25f646ad1157887b86 Issue-ID: VVP-49 Signed-off-by: stark, steven <ss820f@att.com>
-rw-r--r--pom.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index c26edaf..bed322c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,6 +15,7 @@
<properties>
<!--nexus-->
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
<sitePath>/content/sites/site/org/onap/vvp/${project.artifactId}/${project.version}</sitePath>
<!--maven-->
<timestamp>${maven.build.timestamp}</timestamp>
@@ -22,6 +23,8 @@
<!--docker-->
<docker.tag>${project.version}-${timestamp}</docker.tag>
<docker.latest.tag>${project.version}-latest</docker.latest.tag>
+ <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
+ <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
</properties>
<build>
@@ -44,7 +47,8 @@
<configuration>
<verbose>true</verbose>
<apiVersion>1.23</apiVersion>
- <registry>nexus3.onap.org:10003</registry>
+ <pullRegistry>${docker.pull.registry}</pullRegistry>
+ <pushRegistry>${docker.push.registry}</pushRegistry>
<images>
<image>
<name>onap/vvp/gitlab</name>