a-cloud-all/bin/package.sh

18 lines
300 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
echo ""
echo "[信息] 打包Web工程生成war/jar包文件"
echo ""
# 切换到脚本所在目录
cd "$(dirname "$0")"
# 返回上级目录
cd ..
# 执行 Maven 打包,跳过测试
mvn clean package -Dmaven.test.skip=true
#echo ""
echo "按任意键继续..."
#read -n 1 -s -r