Skip to content

Commit cb9429b

Browse files
committed
[OPENJDK-2968] remove vestiges of scl-enable-maven
This was used in the RHEL7 images but not since. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 2b8031d commit cb9429b

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

modules/maven/default/backward_compatibility.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ set -e
44

55
# For backward compatibility
66
mkdir -p /usr/local/s2i
7-
ln -s /opt/jboss/container/maven/default/scl-enable-maven /usr/local/s2i/scl-enable-maven
8-
chown -h jboss:root /usr/local/s2i/scl-enable-maven
97
ln -s /opt/jboss/container/maven/default/maven.sh /usr/local/s2i/common.sh
108
chown -h jboss:root /usr/local/s2i/common.sh

modules/maven/s2i/artifacts/opt/jboss/container/maven/s2i/maven-s2i

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ function maven_s2i_init() {
3636
# Location of archived local Maven repository. Used with incremental builds.
3737
_MAVEN_S2I_ARCHIVED_REPO="${S2I_ARTIFACTS_DIR}/m2"
3838

39-
# include maven scripts
40-
if test -r "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}"/scl-enable-maven; then
41-
source "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}"/scl-enable-maven
42-
fi
4339
source "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}"/maven.sh
4440

4541
# Overrides for use with maven s2i

modules/s2i/bash/artifacts/usr/local/s2i/run

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ source "${JBOSS_CONTAINER_JAVA_S2I_MODULE}/s2i-core-hooks"
1111
# Global S2I variable setup
1212
s2i_core_env_init
1313

14-
# CLOUD-3387: RHEL7-based images enable maven in the runtime environment. This
15-
# is not needed for RHEL8-based images.
16-
if test -r "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}/scl-enable-maven"; then
17-
source "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}/scl-enable-maven"
18-
fi
19-
2014
if [ -z "${JAVA_OPTS+isunset}" ] && [ -n "${JAVA_OPTIONS+isset}" ]; then
2115
JAVA_OPTS="$JAVA_OPTIONS"
2216
fi

modules/s2i/bash/artifacts/usr/local/s2i/s2i-setup

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ source "${JBOSS_CONTAINER_JAVA_S2I_MODULE}/s2i-core-hooks"
99
log_warning "s2i-setup script has been deprecated and will be removed in a future release."
1010

1111
s2i_core_init
12-
13-
source "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}/scl-enable-maven"

0 commit comments

Comments
 (0)