forked from rh-openjdk/redhat-openjdk-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPENJDK-3033] Introduce and use maven-openjdk21 module
Signed-off-by: Jonathan Dowland <jdowland@redhat.com>
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
# This file is shipped by a Maven package and sets JAVA_HOME to | ||
# an OpenJDK-specific path. This causes problems for OpenJ9 containers | ||
# as the path is not correct for them. We don't need this in any of | ||
# the containers because we set JAVA_HOME in the container metadata. | ||
# Blank the file rather than removing it, to avoid a warning message | ||
# from /usr/bin/mvn. | ||
if [ -f /etc/java/maven.conf ]; then | ||
:> /etc/java/maven.conf | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
schema_version: 1 | ||
name: jboss.container.maven | ||
version: '3.8.21' | ||
description: Provides Maven v3.8 capabilities to an image. | ||
|
||
envs: | ||
- name: JBOSS_CONTAINER_MAVEN_38_MODULE | ||
value: /opt/jboss/container/maven/38/ | ||
- name: MAVEN_VERSION | ||
value: '3.8' | ||
|
||
modules: | ||
install: | ||
- name: jboss.container.maven.module | ||
|
||
packages: | ||
install: | ||
- maven-openjdk21 | ||
|
||
execute: | ||
- script: configure.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters