From d8e386bac38e19fbd71a2167e70af08dbe9ebef6 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Thu, 2 Nov 2017 13:19:53 -0400 Subject: Update the dependency from snapshot to using the release version and remove the dependency in the docker file that is tied to the 1.1.0 since we are upgrading it will not always be the same and always depend on the project version as it will be updatable from the versions:set command Issue-ID: AAI-448 Change-Id: I639e56da3584bccbfcecc511f77999ba73548080 Signed-off-by: Venkata Harish K Kajur --- aai-resources/pom.xml | 7 +++---- aai-resources/src/main/resources/docker/docker-entrypoint.sh | 4 +++- pom.xml | 5 ++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml index 900acaa..e483034 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -20,7 +20,6 @@ ${basedir}/target/swm/package/nix/dist_files/ yyyyMMdd'T'HHmmss 1.0.0 - 1.1.0-SNAPSHOT java jacoco ${project.build.directory}/surefire-reports @@ -33,7 +32,7 @@ org.onap.aai.aai-common aai-core - ${aai-core.version} + ${project.version} ajsc-runner @@ -44,7 +43,7 @@ org.onap.aai.aai-common aai-schema - ${aai.schema.version} + ${project.version} ajsc-runner @@ -491,7 +490,7 @@ org.onap.aai.aai-common aai-schema - ${aai.schema.version} + ${project.version} bundleconfig-local/etc oxm/*.xml diff --git a/aai-resources/src/main/resources/docker/docker-entrypoint.sh b/aai-resources/src/main/resources/docker/docker-entrypoint.sh index 6621745..a132b9b 100644 --- a/aai-resources/src/main/resources/docker/docker-entrypoint.sh +++ b/aai-resources/src/main/resources/docker/docker-entrypoint.sh @@ -48,6 +48,8 @@ gosu aaiadmin ./init-chef.sh || { httpPort=8087; httpsPort=8447; +AAI_CORE_JAR=$(ls ${APP_HOME}/extJars/aai-core*.jar); + cd ${APP_HOME}; CP=${COMMONLIBS_HOME}/*; @@ -55,7 +57,7 @@ CP="$CP":${APP_HOME}/etc; CP="$CP":${APP_HOME}/lib/*; CP="$CP":${APP_HOME}/extJars/logback-access-1.1.7.jar; CP="$CP":${APP_HOME}/extJars/logback-core-1.1.7.jar; -CP="$CP":${APP_HOME}/extJars/aai-core-${AAI_CORE_VERSION}.jar; +CP="$CP":${AAI_CORE_JAR}; # You can add additional jvm options by adding environment variable JVM_PRE_OPTS # If you need to add more jvm options at the end then you can use JVM_POST_OPTS diff --git a/pom.xml b/pom.xml index a04cb4e..8e4cdbe 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,6 @@ 3.0.4 int1-data.graphson - 1.1.0-SNAPSHOT @@ -183,7 +182,7 @@ ${runAjscHome}/extJars/logback-core-1.1.7.jar - ${runAjscHome}/extJars/aai-core-${aai-core.version}.jar + ${runAjscHome}/extJars/aai-core-${project.version}.jar @@ -255,7 +254,7 @@ aai-core.version - ${aai-core.version} + ${project.version} -- cgit 1.2.3-korg