欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Maven打包提示dependencies.dependency.systemPath错误

程序员文章站 2022-03-24 20:32:57
Maven打包提示dependencies.dependency.systemPath错误具体信息如下:Some problems were encountered while building the effective model for com.cs:xxx:jar:0.0.1-SNAPSHOT'dependencies.dependency.systemPath' for org.taobao.dingtalk:dingtalk_1479188381469:jar should not poi...

Maven打包提示dependencies.dependency.systemPath错误

具体信息如下:

Some problems were encountered while building the effective model for com.cs:xxx:jar:0.0.1-SNAPSHOT
'dependencies.dependency.systemPath' for org.taobao.dingtalk:dingtalk_1479188381469:jar should not point at files within the project directory, ${basedir}/src/main/lib/taobao-sdk-java-auto_1479188381469-20200817.jar will be unresolvable by dependent projects @ line 32, column 25
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.

修改方法,将${basedir}修改为${pom.basedir}即可

本文地址:https://blog.csdn.net/weixin_43938908/article/details/108678418

相关标签: JAVA maven