aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-10-10 16:24:20 -0400
committerMichael Hwang <mhwang@research.att.com>2017-10-11 11:52:51 -0400
commit366286371bfa76884b163e84928c31d6a4776439 (patch)
tree1a2ba6f000a82a54e2eb9c05ffcf35c6b93d82dd /pom.xml
parent983e821479b600fc8288534c8d910d85f52dde18 (diff)
Use the latest distribution client
Also address Docker build issue Issue-Id: DCAEGEN2-150 Change-Id: I2db297eed1c9c1c97cc440703cf4309fae8e8906 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 5552875..0157788 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,7 @@
<dependency>
<groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
<artifactId>sdc-distribution-client</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.50</version>
</dependency>
<dependency>
<groupId>com.taoensso</groupId>
@@ -194,13 +194,15 @@
<imageTag>latest</imageTag>
</imageTags>
<baseImage>java:8-jre</baseImage>
- <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "prod", "http://consul:8500/v1/kv/service-change-handler?raw=true"]</entryPoint>
+ <!-- NOTE: Couldn't figure out how to package the jar to be named: ${project.build.finalName}. This might be
+ because of the clojure maven plugin -->
+ <entryPoint>["java", "-jar", "/opt/servicechange-handler.jar", "prod", "http://consul:8500/v1/kv/service-change-handler?raw=true"]</entryPoint>
<!-- copy the service's jar file from target into the root directory of the image -->
<resources>
<resource>
<targetPath>/opt</targetPath>
<directory>${project.build.directory}</directory>
- <include>${project.build.finalName}.jar</include>
+ <include>servicechange-handler.jar</include>
</resource>
</resources>
<serverId>${onap.nexus.dockerregistry.daily}</serverId>