欢迎来到阿八个人博客网站。本
阿八个人博客
网站提供最新的站长新闻,各种互联网资讯。
喜欢本站的朋友可以收藏本站,或者加QQ:我们大家一起来交流技术!
URL链接:https://www.abboke.com/jsh/2019/0813/105414.html
1190000020051182
spring-boot-plus项目打包
项目打包
- spring-boot-plus项目使用maven assembly插件进行打包
- 根据不同环境进行打包部署
- 包含启动、重启命令,配置文件提取到外部config目录
打包命令
mvn clean package -Plocal
cd target
spring-boot-plus-1.0.0.RELEASE-local.tar.gz
spring-boot-plus-1.0.0.RELEASE-local.zip
spring-boot-plus-1.0.0.RELEASE-local\spring-boot-plus\config
├─spring-boot-plus-1.0.0.RELEASE-local
│ └─spring-boot-plus
│ ├─bin
│ ├─config
│ ├─lib
│ └─logs
│ └─back
spring-boot-plus-1.0.0.RELEASE-local
└─spring-boot-plus
│ CHANGELOG.md
│ LICENSE
│ README.md
│
├─bin
│ restart.sh
│ shutdown.sh
│ startup.bat
│ startup.sh
│
├─config
│ application-local.yml
│ application.yml
│ banner.txt
│ logback.xml
│
├─lib
│ spring-boot-plus.jar
│
└─logs
│ spring-boot-plus-startup.log
│ spring-boot-plus.log
│
└─back
spring-boot-plus-back.log