在相应的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.
在特定的dependency中加入force属性为true,可以强制使用指定版本的jar,避免间接依赖冲突。
1119

被折叠的 条评论
为什么被折叠?



