-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-9.0.0
-
None
-
None
-
rhel-sst-java
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
-
57,005
The issue I am trying to resolve is being able to install Maven with JDK8 and not pull in another JDK.
The maven-openjdk8 package has the following dependency chain:
maven-openjdk8 -> maven -> maven-lib -> (java-headless or java-11-headless)
However only java-11-openjdk-headless provides "java-headless", so this is only satisfied by JDK11. Hence, installing maven-openjdk8 (or maven-openjdk17) installs JDK11 as well.
I'm filing this against openjdk because ultimately I think this can only be resolved by the OpenJDK packages providing a consistent virtual package name across JDK versions.
The specific OpenJDK 8 package version I have reproduced this with is:
Epoch : 1
Version : 1.8.0.322.b06
Release : 9.el9
- external trackers