• 35648

    文章

  • 23

    评论

  • 20

    友链

  • 最近新加了很多技术文章,大家多来逛逛吧~~~~
  • 喜欢这个网站的朋友可以加一下QQ群,我们一起交流技术。

spring-boot-plus项目打包(七)

欢迎来到阿八个人博客网站。本 阿八个人博客 网站提供最新的站长新闻,各种互联网资讯。 喜欢本站的朋友可以收藏本站,或者加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

相关文章

暂住......别动,不想说点什么吗?
  • 全部评论(0
    还没有评论,快来抢沙发吧!