thumbnail-api/build.sh

17 lines
387 B
Bash
Raw Normal View History

2023-09-20 22:27:36 +00:00
#!/bin/bash
# . CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
cd "$(dirname "")"
echo "Working Dir: " $(pwd)
export JAVA_HOME="/usr/lib/jvm/java-17-openjdk/"
mvn clean package -U -Pproduction -Dmaven.test.skip=true
2023-09-20 22:27:36 +00:00
}
main "$@";