Bug#882271: libgradle-core-java: fail to honor maven relocations

Emmanuel Bourg ebourg at apache.org
Sun Nov 15 22:21:33 GMT 2026


Control: forwarded -1 https://github.com/gradle/gradle/issues/1789
Control: fixed -1 4.4-1

Le 21/11/2017 à 22:35, Gilles Filippini a écrit :
> Control: forwarded -1 https://github.com/gradle/gradle/issues/1256
> 
> Emmanuel Bourg a écrit le 20/11/2017 à 22:55 :
>> Le 20/11/2017 à 22:24, Gilles Filippini a écrit :
>>
>>> As I understand it, gradle should follow the relocation and look for
>>>   file:/usr/share/maven-repo/com/github/cliftonlabs/json-simple/debian/json-simple-debian.jar
>>> instead of
>>>   file:/usr/share/maven-repo/com/googlecode/json-simple/json-simple/debian/json-simple-debian.jar
>>
>> AFAIK this is a Gradle limitation. I don't know if more recent versions
>> support relocations.
> 
> This is upstream issue 1256 [1] actually.
> 
> [1] https://github.com/gradle/gradle/issues/1256


The issue 1256 is about the rendering of the dependency graph, not the 
dependency resolution. The relocation support is a different upstream 
issue [1], and it was fixed in Gradle 4.2 [2].

In Debian this issue is fixed since gradle/4.4-1 (2018-05-18).

Emmanuel Bourg


[1] https://github.com/gradle/gradle/issues/1789
[2] https://github.com/gradle/gradle/commit/190e808314



More information about the pkg-java-maintainers mailing list