Skip to content

Commit 82a7ea4

Browse files
committed
Update Maven modules to 3.8, simplify version scheme
Update all references to the 3.6 AppStream for Maven to 3.8. Modify the version scheme used for our cekit maven modules. The prior scheme, dating from the days when we maintained RHEL7 and RHEL8 images in the same branch, encoded a triplet of RHEL major version; Maven version; JDK major version into a single version string, conforming to a specification that limited us to integers separated by '.'. E.g. 8.6.3.6.11 => RHEL 8.6, Maven 3.6, JDK11 Now that we are separating out image sources by RHEL major version, we can get rid of the first part of the version string to simplify things. Since this commit replaces a single maven version across the whole branch (3.6) with another (3.8), we also do not need to mention it in the module version. Instead, just mention the JDK major version. singleton-jdk module no longer needed for the ubi9/openjdk-17 image. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent ff463cb commit 82a7ea4

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed
File renamed without changes.

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

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

66
envs:
7-
- name: JBOSS_CONTAINER_MAVEN_36_MODULE
8-
value: /opt/jboss/container/maven/36/
7+
- name: JBOSS_CONTAINER_MAVEN_38_MODULE
8+
value: /opt/jboss/container/maven/38/
99
- name: MAVEN_VERSION
10-
value: "3.6"
10+
value: "3.8"
1111

1212
modules:
1313
install:
File renamed without changes.

modules/maven/8.6.3.6.17/module.yaml renamed to modules/maven/17/module.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
schema_version: 1
22
name: jboss.container.maven
33
# Version scheme: RHEL major . RHEL minor . Maven major . Maven minor . JDK version
4-
version: '8.6.3.6.17'
5-
description: Provides Maven v3.6 capabilities to an image.
4+
version: '17'
5+
description: Provides Maven v3.8 capabilities to an image.
66

77
envs:
8-
- name: JBOSS_CONTAINER_MAVEN_36_MODULE
9-
value: /opt/jboss/container/maven/36/
8+
- name: JBOSS_CONTAINER_MAVEN_38_MODULE
9+
value: /opt/jboss/container/maven/38/
1010
- name: MAVEN_VERSION
11-
value: "3.6"
11+
value: '3.8'
1212

1313
modules:
1414
install:
1515
- name: jboss.container.maven.module
16+
version: '3.8'
1617

1718
packages:
1819
install:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[maven]
22
name=maven
3-
stream=3.6
3+
stream=3.8
44
profiles=
55
state=enabled

modules/maven/module/module.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
schema_version: 1
22
name: jboss.container.maven.module
3-
version: '3.6'
3+
version: '3.8'
44
description: ^
5-
Enables the AppStream RPM Module for Maven 3.6 packages.
5+
Enables the AppStream RPM Module for Maven 3.8 packages.
66

77
execute:
88
- script: configure.sh

ubi9-openjdk-11.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ modules:
4545
- name: jboss.container.openjdk.jdk
4646
version: "11"
4747
- name: jboss.container.maven
48-
version: "8.6.3.6.11"
48+
version: "11"
4949
- name: jboss.container.java.s2i.bash
5050

5151
help:

ubi9-openjdk-17.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ modules:
4545
- name: jboss.container.openjdk.jdk
4646
version: "17"
4747
- name: jboss.container.maven
48-
version: "8.6.3.6.17"
48+
version: "17"
4949
- name: jboss.container.java.s2i.bash
50-
# https://bugzilla.redhat.com/show_bug.cgi?id=2080229
51-
- name: jboss.container.java.singleton-jdk
5250

5351
help:
5452
add: true

0 commit comments

Comments
 (0)