Commit 5c840ab7 by Sven Hettwer

Run standalone jar or war instead of jar only

parent c6014f4d
...@@ -6,5 +6,5 @@ APP_TARGET=${APP_TARGET:-target} ...@@ -6,5 +6,5 @@ APP_TARGET=${APP_TARGET:-target}
echo "---> Starting Spring Boot application" echo "---> Starting Spring Boot application"
echo "--> # APP_TARGET = $APP_TARGET" echo "--> # APP_TARGET = $APP_TARGET"
echo "--> # JAVA_OPTS = $JAVA_OPTS" echo "--> # JAVA_OPTS = $JAVA_OPTS"
echo "---> Running application from jar ($(find $APP_TARGET -name *.jar)) ..." echo "---> Running application from standalone jar/war..."
java $JAVA_OPTS -jar `find $APP_TARGET -name *.jar` java $JAVA_OPTS -jar `find $APP_TARGET -maxdepth 1 -regex ".*\(jar\|war\)"`
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment