1.SpringBoot打包时包含工程中jar文件

maven高级特性相应maven配置

参考资料:springBoot打包引入外部jar包问题

2.设置多profile部署

首先要在build中增加一个resource节点,deploy.type标识相对于resources的子目录的名称;然后新增profiles节点,分别定义有哪些profile;最后在编译打包时使用-P后加相应的profile环境即可;

maven高级特性相应maven配置

 

相关文章:

  • 2021-05-22
  • 2021-12-01
  • 2022-01-19
  • 2021-08-17
  • 2021-07-29
  • 2021-07-18
  • 2021-04-13
猜你喜欢
  • 2021-06-18
  • 2022-02-04
  • 2021-06-03
  • 2021-09-18
  • 2021-09-29
  • 2021-11-01
  • 2021-06-02
相关资源
相似解决方案