File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Expand file tree Collapse file tree 3 files changed +38
-1
lines changed 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 : ' 3.8.21'
4
+ description : Provides Maven v3.8 capabilities to an image.
5
+
6
+ labels :
7
+ - name : io.fabric8.s2i.version.maven
8
+ value : " 3.8"
9
+
10
+ envs :
11
+ - name : JBOSS_CONTAINER_MAVEN_38_MODULE
12
+ value : /opt/jboss/container/maven/38/
13
+ - name : MAVEN_VERSION
14
+ value : ' 3.8'
15
+
16
+ modules :
17
+ install :
18
+ - name : jboss.container.maven.module
19
+
20
+ packages :
21
+ install :
22
+ - maven-openjdk21
23
+
24
+ execute :
25
+ - script : configure.sh
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ modules:
51
51
- name : jboss.container.openjdk.jdk
52
52
version : " 21"
53
53
- name : jboss.container.maven
54
- version : " 3.8.17 "
54
+ version : " 3.8.21 "
55
55
- name : jboss.container.util.tzdata
56
56
- name : jboss.container.java.s2i.bash
57
57
You can’t perform that action at this time.
0 commit comments