很多时候公司项目使用需要继承父类工程,因此通过这种方式可以让SpringBoot运行起来
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.2.RELEASE</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
本文介绍如何在SpringBoot项目中通过继承父类工程的方式,实现项目的高效管理和依赖统一管理。具体操作是在pom.xml文件中加入<dependencyManagement>标签,引入spring-boot-starter-parent依赖。
789

被折叠的 条评论
为什么被折叠?



