帮别人解决bug的时候碰到,随便记录一下。 使用<dependencyManagement>标签, 做版本管理的时候,需要父子项目关联,就需要子模块中利用<parent> 否则父模块中<properties>会无法引用到而出错爆红。
<dependencyManagement>
<parent>
<properties>