File tree Expand file tree Collapse file tree 7 files changed +46
-6
lines changed Expand file tree Collapse file tree 7 files changed +46
-6
lines changed Original file line number Diff line number Diff line change 4
4
# This file is shipped by a Maven package and sets JAVA_HOME to
5
5
# an OpenJDK-specific path. This causes problems for OpenJ9 containers
6
6
# as the path is not correct for them. We don't need this in any of
7
- # the containers because ew set JAVA_HOME in the container metadata.
7
+ # the containers because we set JAVA_HOME in the container metadata.
8
8
# Blank the file rather than removing it, to avoid a warning message
9
9
# from /usr/bin/mvn.
10
10
if [ -f /etc/java/maven.conf ]; then
Original file line number Diff line number Diff line change 4
4
# This file is shipped by a Maven package and sets JAVA_HOME to
5
5
# an OpenJDK-specific path. This causes problems for OpenJ9 containers
6
6
# as the path is not correct for them. We don't need this in any of
7
- # the containers because ew set JAVA_HOME in the container metadata.
7
+ # the containers because we set JAVA_HOME in the container metadata.
8
8
# Blank the file rather than removing it, to avoid a warning message
9
9
# from /usr/bin/mvn.
10
10
if [ -f /etc/java/maven.conf ]; then
Original file line number Diff line number Diff line change 1
1
schema_version : 1
2
2
name : jboss.container.maven
3
- version : ' 8.2 .3.6'
3
+ version : ' 8.6 .3.6.11 '
4
4
description : Provides Maven v3.6 capabilities to an image.
5
5
6
6
labels :
@@ -19,7 +19,7 @@ modules:
19
19
20
20
packages :
21
21
install :
22
- - maven
22
+ - maven-openjdk11
23
23
24
24
execute :
25
25
- script : configure.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ set -e
3
+
4
+ # This file is shipped by a Maven package and sets JAVA_HOME to
5
+ # an OpenJDK-specific path. This causes problems for OpenJ9 containers
6
+ # as the path is not correct for them. We don't need this in any of
7
+ # the containers because we set JAVA_HOME in the container metadata.
8
+ # Blank the file rather than removing it, to avoid a warning message
9
+ # from /usr/bin/mvn.
10
+ if [ -f /etc/java/maven.conf ]; then
11
+ :> /etc/java/maven.conf
12
+ fi
Original file line number Diff line number Diff line change
1
+ schema_version : 1
2
+ name : jboss.container.maven
3
+ # 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.
6
+
7
+ labels :
8
+ - name : io.fabric8.s2i.version.maven
9
+ value : " 3.6"
10
+
11
+ envs :
12
+ - name : JBOSS_CONTAINER_MAVEN_36_MODULE
13
+ value : /opt/jboss/container/maven/36/
14
+ - name : MAVEN_VERSION
15
+ value : " 3.6"
16
+
17
+ modules :
18
+ install :
19
+ - name : jboss.container.maven.module
20
+
21
+ packages :
22
+ install :
23
+ - maven-openjdk17
24
+
25
+ execute :
26
+ - script : configure.sh
Original file line number Diff line number Diff line change @@ -47,9 +47,10 @@ modules:
47
47
- name : jboss.container.prometheus
48
48
- name : jboss.container.jolokia
49
49
- name : jboss.container.maven
50
- version : " 8.2 .3.6"
50
+ version : " 8.6 .3.6.11 "
51
51
- name : jboss.container.util.nss-wrapper
52
52
- name : jboss.container.java.s2i.bash
53
+ # required due to jolokia
53
54
- name : jboss.container.java.singleton-jdk
54
55
55
56
help :
Original file line number Diff line number Diff line change @@ -46,8 +46,9 @@ modules:
46
46
version : " 17"
47
47
- name : jboss.container.prometheus
48
48
- name : jboss.container.maven
49
- version : " 8.2 .3.6"
49
+ version : " 8.6 .3.6.17 "
50
50
- name : jboss.container.java.s2i.bash
51
+ # needed for after prometheus
51
52
- name : jboss.container.java.singleton-jdk
52
53
53
54
help :
You can’t perform that action at this time.
0 commit comments