1 Star 0 Fork 661

囧囧/mica-mqtt

forked from dromara/mica-mqtt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy.sh 892 Bytes
一键复制 编辑 原始数据 按行查看 历史
浅梦 提交于 2024-09-14 15:58 . :hammer:调整构建脚本
#!/bin/sh
## 1. java version
java -version
printf "\n"
## 2. mvn version
mvn -version
printf "\n"
## 3. 环境
if [ -z $1 ]; then
profile="release"
else
profile="$1"
fi
printf "profile [%s] \n" "$profile"
## 4. modules
modules="mica-mqtt-codec,mica-mqtt-common,"
modules="$modules mica-mqtt-client,mica-mqtt-server,"
modules="$modules starter/mica-mqtt-client-spring-boot-starter,"
modules="$modules starter/mica-mqtt-server-spring-boot-starter,"
modules="$modules starter/mica-mqtt-client-solon-plugin,"
modules="$modules starter/mica-mqtt-server-solon-plugin,"
modules="$modules starter/mica-mqtt-client-jfinal-plugin,"
modules="$modules starter/mica-mqtt-server-jfinal-plugin"
printf "modules [%s] \n" "$modules"
## 5. deploy
if [ "$profile" = "snapshot" ]; then
mvn clean deploy -U -P!develop,snapshot -pl "$modules"
else
mvn clean deploy -Prelease -pl "$modules"
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhaofu1234/mica-mqtt.git
git@gitee.com:zhaofu1234/mica-mqtt.git
zhaofu1234
mica-mqtt
mica-mqtt
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385