Bug#912231: bnd FTBFS with OpenJDK 11

Emmanuel Bourg ebourg at apache.org
Wed Dec 19 21:32:16 GMT 2018


Le 29/10/2018 à 23:32, Markus Koschany a écrit :
> The OpenJDK 11 issue is rather simple to fix, however the build fails
> later on with this error message, a Gradle issue?

I've figured out what is causing the second issue, the poms are
installed into .gradle/daemon/4.4.1/debian/.m2/ instead of debian/.m2/.

Due to the way gradle-debian-helper 2.0.1 injects its code in the Gradle
classpath the Gradle daemon is always started, and the daemon uses a
different working directory (.gradle/daemon/4.4.1/). Since the location
of the Maven repository where the artifacts are installed is specified
as a relative path, it's shifted under the daemon working directory and
maven-repo-helper no longer finds the artifacts at the expected path.

This can be fixed by setting the repository location with an absolute
path (the HOME variable in debian/rules).

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list