File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
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
+ envs :
7
+ - name : JBOSS_CONTAINER_MAVEN_38_MODULE
8
+ value : /opt/jboss/container/maven/38/
9
+ - name : MAVEN_VERSION
10
+ value : ' 3.8'
11
+
12
+ modules :
13
+ install :
14
+ - name : jboss.container.maven.module
15
+
16
+ packages :
17
+ install :
18
+ - maven-openjdk21
19
+
20
+ execute :
21
+ - script : configure.sh
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ 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
+ - name : jboss.container.util.tzdata
55
56
- name : jboss.container.java.s2i.bash
56
57
- name : jboss.container.util.tzdata
57
- - name : jboss.container.java.singleton-jdk
58
58
59
59
help :
60
60
add : true
You can’t perform that action at this time.
0 commit comments