https://bugzilla.redhat.com/show_bug.cgi?id=2028448
Didik Supriadi didiksupriadi41@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Comment|0 |updated
--- Comment #0 has been edited ---
Description of problem: I've used `maven-local-openjdk11`, but apparently `xmvn` still uses JDK17 as toolchain for org.fedoraproject.xmvn:xmvn-mojo:javadoc.
Happens when I tried to build `apache-ivy` (requires Pack200 class) here: https://download.copr.fedorainfracloud.org/results/jvanek/java17:pr:7/fedora...
but explicitly overriding JAVA_HOME to JDK11 fixed it: https://download.copr.fedorainfracloud.org/results/jvanek/java17:pr:8/fedora...
Version-Release number of selected component (if applicable): 4.0.0-4
How reproducible: always
Steps to Reproduce: For instance, we'd build `apache-ivy` using jvanek-java17-fedora-rawhide-x86_64.cfg [1] 1. $ fedpkg clone `apache-ivy` 2. $ sed -i 's/maven-local/maven-local-openjdk11/g' apache-ivy.spec 3. $ fedpkg mockbuild --root jvanek-java17-fedora-rawhide-x86_64.cfg
Actual results: https://download.copr.fedorainfracloud.org/results/jvanek/java17:pr:7/fedora...
Expected results: https://download.copr.fedorainfracloud.org/results/jvanek/java17:pr:8/fedora...
Additional info:
[1] https://raw.githubusercontent.com/judovana/FedoraSystemJdkBump/main/scritps/...