首页 > 编程语言 > 详细

怎么用sts打包多个springboot项目

时间:2020-05-06 19:21:46      阅读:119      评论:0      收藏:0      [点我收藏+]

1.先在运行的那个项目的pom.xml中添加如下插件:

   <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <includeSystemScope>true</includeSystemScope>
                </configuration>
            </plugin>

这个项目为springboot项目提供maven支持,包含了打包之类的maven支持。

2.选中运行的那个项目,右键,RUn as,Maven Install

3.在这个项目的target就能看到这个jar包。

怎么用sts打包多个springboot项目

原文:https://www.cnblogs.com/yxj808/p/12837862.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!