加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Ivy依赖冲突时如何让低版本的胜出

发布时间:2020-12-13 20:13:59 所属栏目:百科 来源:网络整理
导读:在相应的dependency里面加上force=quot;truequot;,就会强制使用这个低版本的jar,忽略其它间接依赖的高版本的; 参考 http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html Forcing revision Finally,the dependency element also

在相应的dependency里面加上force="true",就会强制使用这个低版本的jar,忽略其它间接依赖的高版本的;
参考 http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html

Forcing revision

Finally,the dependency element also supports an a force attribute (since 0.8),which gives an indication
to conflicts manager to force the revision of a dependency to the one given here.
See conflicts manager for details.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读