aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <hkajur93@gmail.com>2018-03-06 14:31:19 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2018-03-06 18:49:36 +0000
commit7f0618966623e4a5a5580caf8c6bfbb42f4e15e0 (patch)
treeac03b0312afa8e244bb09dbd41b2886cd6e18ba6 /aai-resources/src/main
parent748613a171d3619e6de43ab04f217ca86d4a723f (diff)
Add the spring boot maven plugin
Issue-ID: AAI-96 Change-Id: If55d3de6b4bced78b8fc029111e1ad47d077f9a6 Signed-off-by: Venkata Harish K Kajur <hkajur93@gmail.com>
Diffstat (limited to 'aai-resources/src/main')
-rw-r--r--aai-resources/src/main/docker/docker-entrypoint.sh2
-rw-r--r--aai-resources/src/main/scripts/common_functions.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-resources/src/main/docker/docker-entrypoint.sh b/aai-resources/src/main/docker/docker-entrypoint.sh
index 05abc71..2f57a2a 100644
--- a/aai-resources/src/main/docker/docker-entrypoint.sh
+++ b/aai-resources/src/main/docker/docker-entrypoint.sh
@@ -105,6 +105,6 @@ JAVA_OPTS="${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom";
JAVA_OPTS="${JAVA_OPTS} -Dloader.path=$APP_HOME/resources";
JAVA_OPTS="${JAVA_OPTS} ${POST_JAVA_OPTS}";
-JAVA_MAIN_JAR=$(ls lib/aai-resources*.jar);
+JAVA_MAIN_JAR=$(ls lib/aai-resources-*SNAPSHOT.jar);
${JAVA_CMD} ${JVM_OPTS} ${JAVA_OPTS} -jar ${JAVA_MAIN_JAR};
diff --git a/aai-resources/src/main/scripts/common_functions.sh b/aai-resources/src/main/scripts/common_functions.sh
index 853941c..2a908e2 100644
--- a/aai-resources/src/main/scripts/common_functions.sh
+++ b/aai-resources/src/main/scripts/common_functions.sh
@@ -29,7 +29,7 @@ execute_spring_jar(){
shift 2;
- EXECUTABLE_JAR=$(ls ${PROJECT_HOME}/lib/*.jar);
+ EXECUTABLE_JAR=$(ls ${PROJECT_HOME}/lib/aai-resources-*SNAPSHOT.jar);
JAVA_OPTS="${JAVA_PRE_OPTS}";
JAVA_OPTS="-DAJSC_HOME=$PROJECT_HOME";