Skip to content

Commit 8c228f9

Browse files
committed
Rename maven module for OpenJDK 11 to be explicit
The "maven" module version 8.2.3.6 installed the "maven" RPM, pulling in whatever the default system JDK is implicitly. Align the module with the other two, by re-versioning it to 8.6.3.6.11 (+ .11 suffix for JDK 11, change 8.2 → 8.6 to reflect the RHEL minor version where we are implementing this) and depending explicitly on maven-openjdk11. depend on this module in ubi8-openjdk-11.yaml, and remove singleton-jdk which should not be necessary. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 1a53327 commit 8c228f9

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

modules/maven/8.2.3.6/module.yaml renamed to modules/maven/8.6.3.6.11/module.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
schema_version: 1
22
name: jboss.container.maven
3-
version: '8.2.3.6'
3+
version: '8.6.3.6.11'
44
description: Provides Maven v3.6 capabilities to an image.
55

66
labels:
@@ -19,7 +19,7 @@ modules:
1919

2020
packages:
2121
install:
22-
- maven
22+
- maven-openjdk11
2323

2424
execute:
2525
- script: configure.sh

ubi8-openjdk-11.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ modules:
4848
version: "8.6.11"
4949
- name: jboss.container.jolokia
5050
- name: jboss.container.maven
51-
version: "8.2.3.6"
51+
version: "8.6.3.6.11"
5252
- name: jboss.container.util.nss-wrapper
5353
- name: jboss.container.java.s2i.bash
54+
# required due to jolokia
5455
- name: jboss.container.java.singleton-jdk
5556

5657
help:

ubi8-openjdk-17.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ modules:
4949
- name: jboss.container.maven
5050
version: "8.6.3.6.17"
5151
- name: jboss.container.java.s2i.bash
52+
# needed for after prometheus
53+
- name: jboss.container.java.singleton-jdk
5254

5355
help:
5456
add: true

0 commit comments

Comments
 (0)