查询某个pom的来源:
命令:
mvn dependency:tree -Dverbose -Dincludes=com.alibaba.rocketmq:rocketmq-client
结果:
[WARNING] Invalid POM for com.taobao.common.catserver:catserver-common:jar:2.4.5, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] com.alibaba.ascp.rcm:risk-management-start:jar:1.0.0
[INFO] - com.alibaba.ascp.rcm:risk-management-service:jar:1.0.0:compile
[INFO] - com.taobao.promotioncenter:promotion-common-client:jar:5.5.20:compile
[INFO] - com.taobao.ump:ump-common-client:jar:4.9.6:compile
[INFO] - com.taobao.langyan:langyan-client:jar:1.2.6:compile
[INFO] - com.taobao.metaq.final:metaq-client:jar:3.4.5:compile
[INFO] - com.alibaba.rocketmq:rocketmq-client:jar:3.4.5-SNAPSHOT:compile
解决:
在- com.taobao.promotioncenter:promotion-common-client:jar:5.5.20:compile增加排除