[WARNING] The POM for com.tenyears:base-common:jar:1.0 is invalid, transitive dependen
Posted 正怒月神
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[WARNING] The POM for com.tenyears:base-common:jar:1.0 is invalid, transitive dependen相关的知识,希望对你有一定的参考价值。
很明显,引用的模块,缺少架包。
1 运行
mvn -X dependency:tree>tree.txt
2 找到tree.txt中的详细情况,
在这个[WARNING] 之后就能看到。
[WARNING] The POM for com.tenyears:base-common:jar:1.0 is invalid, transitive dependencies (if any) will not be available: 5 problems were encountered while building the effective model for com.tenyears:base-common:1.0
[ERROR] 'dependencies.dependency.version' for org.bytedeco:javacpp-platform:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.bytedeco:opencv-platform:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.bytedeco:ffmpeg-platform:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.bytedeco:opencv-platform-gpu:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.bytedeco:javacv-platform:jar is missing. @
这个问题,具体原因不清楚,
但是有解决方案。
我的主模块,引用了common模块。
而在common模块中,需要添加架包的版本号。
直接通过父类的pom继承的,但在common架包中,还是需要版本号,不然就报这个。
以上是关于[WARNING] The POM for com.tenyears:base-common:jar:1.0 is invalid, transitive dependen的主要内容,如果未能解决你的问题,请参考以下文章
Warning: Permanently added the RSA host key for IP address ‘13.250.177.223‘ to the list of known(代码片
The POM for cn.e3mall:e3mall-common:jar:0.0.1-SNAPSHOT is missing, no dependency information availab
The POM for com.qingmu:entity:jar:1.0.0-SNAPSHOT is missing, no dependency information available(示例代
The POM for XXX:jar:${com.ld.base.service.version} is missing, no dependency information available(示
DataTables warning: Requested unknown parameter '0' from the data source for row '0'
Warning: Permanently added the RSA host key for IP address '52.74.223.119' to the list of kn