#!/usr/bin/bash function packBackend() { echo "[INFO] Packing backend..." /home/btas3_mse/apache-maven-3.5.0-bin/apache-maven-3.5.0/bin/mvn -o clean package -Dmaven.test.skip=true || exit 1 cp server/service/service-sys/target/service-sys-1.0.0-SNAPSHOT.jar CALP.jar || exit 1 } echo "[INFO] Packing for CALP..." packBackend