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}即可