版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/nangeali/article/details/82078072
依赖版本管理
Pom文件
依赖父项目
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.9.RELEASE</version>
</parent>
Parent的父项目
点击,进入
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>1.5.9.RELEASE</version>
<relativePath>../../spring-boot-dependencies</relativePath>
</parent>
spring-boot-dependencies
管理Spring boot应用里面,所有依赖版本
点击,进入
这里,配置的所有默认版本
导入依赖默认,不需要写版本信息
都在这里进行了声明
如果,dependencies依赖管理没有
需要添加版本信息