<relativePath/>设定一个空值默认值为../pom.xml 表示将始终从父级仓库中获取,不从本地路径获取
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
MAVEN构建jar包时候查找顺序:relativePath元素中的地址–本地仓库–远程仓库
原文:https://blog.csdn.net/zysh888/article/details/105089895