关键配置:
maven 打包:
clean package -Dmaven.test.skip=true
其他命令:
@echo off
echo kill项目
taskkill /f /im javaw.exe
ping 127.0.0.1 -n 5
rd /s /q D:\D\springboot-publish\shopsingle\shopsingle-0.0.1-SNAPSHOT
copy java-shop\target\*.tar D:\D\springboot-publish\shopsingle\
D:
cd D:\D\springboot-publish\shopsingle\
echo into D:\D\springboot-publish\shopsingle\
start winrar x *.tar -y
ping 127.0.0.1 -n 5
cd shopsingle-0.0.1-SNAPSHOT
start javaw -jar shopsingle.jar --server.port=38081
echo ----start-----
echo good bye