背景:编译项目时控制台输出警告信息
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.example:demo:war:1.0-SNAPSHOT
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
解决方案:
修改pom.xml文件
修改${parent.version} 为 ${project.parent.version}
本文解决Maven编译项目时遇到的警告问题,涉及表达式${parent.version}
2899

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



