summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorJoeOLeary <joseph.o.leary@est.tech>2019-01-31 08:45:39 +0000
committerJoeOLeary <joseph.o.leary@est.tech>2019-01-31 08:45:39 +0000
commitc4b59c469603b044ed75b5418e9b10e5b99dcbcc (patch)
tree5598d82d56704274c82f32dc6841e6c3a0f493da /pom.xml
parentbecd8eebb1079e8cb970824ef704f5eebfdbdd42 (diff)
Change Docker image path & building
*Update path to docker image location in nexus *Add versions.properties file Change-Id: I00563ac583f59414920e09ce3c12740c116d6ca4 Issue-ID: DCAEGEN2-1123 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 4edcd0f..a8208bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,6 +54,7 @@
<dockerfile.version>1.4.10</dockerfile.version>
<surefire.version>2.22.0</surefire.version>
<!-- Plugin Settings -->
+ <image-name>${docker.push.registry}/onap/${project.groupId}.${project.artifactId}</image-name>
<sonar.language>java</sonar.language>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
@@ -144,7 +145,7 @@
<artifactId>dockerfile-maven-plugin</artifactId>
<version>${dockerfile.version}</version>
<configuration>
- <repository>${docker.push.registry}/${project.artifactId}</repository>
+ <repository>${image-name}</repository>
<tag>${project.version}</tag>
<dockerfile>${project.build.outputDirectory}/Dockerfile</dockerfile>
<buildArgs>