https://bugzilla.redhat.com/show_bug.cgi?id=2028448
Bug ID: 2028448
Summary: I've used maven-local-openjdk11, but xmvn still uses
JDK17 as toolchain for
org.fedoraproject.xmvn:xmvn-mojo:javadoc
Product: Fedora
Version: rawhide
Status: NEW
Component: xmvn
Assignee: mizdebsk(a)redhat.com
Reporter: didiksupriadi41(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)gmail.com, mizdebsk(a)redhat.com,
msrb(a)redhat.com
Target Milestone: ---
Classification: Fedora
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/fed...
but explicitly overriding JAVA_HOME to JDK11 fixed it:
https://download.copr.fedorainfracloud.org/results/jvanek/java17:pr:8/fed...
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/fed...
Expected results:
https://download.copr.fedorainfracloud.org/results/jvanek/java17:pr:8/fed...
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2028448