mvn验证失败引发依赖错误。
Dependency convergence error for com.company.concepts:patients:2.4.14-SNAPSHOT paths to dependency are:
+-com.company.ion.concepts.patientlist:patient-list:1.4-SNAPSHOT
+-com.company.concepts:patientlists:2.3.15-SNAPSHOT
+-com.company.concepts:patients:2.4.14-SNAPSHOT
and
+-com.company.ion.concepts.patientlist:patient-list:1.4-SNAPSHOT
+-com.company.concepts:patientlists:2.3.15-SNAPSHOT
+-com.company.concepts:patients:2.4.14-SNAPSHOT
+-com.company.concepts:patients:2.4.4-Alpha-5然后运行mvn依赖项:tree,以查看我使用的是2.4.4-Aplha-5的任何位置,但是没有找到它。
[INFO] +- com.company.concepts:patientlists:jar:2.3.15-SNAPSHOT:compile
[INFO] | +- com.company.concepts:patients:jar:2.4.14-SNAPSHOT:compile
[INFO] | | +- com.company.xyz.common:xyz-common-demographic-proteus:jar:3.1:compile我已经试过了所有可能的事情,但无法找到解决的办法。
我在用
maven-enforcer plugin:1.4.1:强制执行 Java版本: 1.8.0_101,供应商:甲骨文公司 Apache 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5 )
发布于 2017-08-21 12:18:05
试着用这个代替。它应该在项目中显示到该依赖项的不同路径:
mvn dependency:tree -Dverbose=truehttps://stackoverflow.com/questions/40803035
复制相似问题