【发布时间】:2017-06-15 07:59:03
【问题描述】:
在通过 Gradle 构建期间,我得到了这个
POM relocation to an other version number is not fully supported in Gradle : xml-apis:xml-apis:2.0.2 relocated to xml-apis:x
ml-apis:1.0.b2.
Please update your dependency to directly use the correct version 'xml-apis:xml-apis:1.0.b2'.
Resolution will only pick dependencies of the relocated element. Artifacts and other metadata will be ignored.
项目中使用了 Batik 1.7。 这个版本的 Batik 使用 Xalan 2.6.0,它依赖于 xml-apis 2.0.2,它被重新定位。
如何解决这种传递依赖?
【问题讨论】:
标签: gradle build.gradle transitive-dependency