File tree Expand file tree Collapse file tree 4 files changed +0
-14
lines changed
s2i/artifacts/opt/jboss/container/maven/s2i
s2i/bash/artifacts/usr/local/s2i Expand file tree Collapse file tree 4 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 4
4
5
5
# For backward compatibility
6
6
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
9
7
ln -s /opt/jboss/container/maven/default/maven.sh /usr/local/s2i/common.sh
10
8
chown -h jboss:root /usr/local/s2i/common.sh
Original file line number Diff line number Diff line change @@ -36,10 +36,6 @@ function maven_s2i_init() {
36
36
# Location of archived local Maven repository. Used with incremental builds.
37
37
_MAVEN_S2I_ARCHIVED_REPO="${S2I_ARTIFACTS_DIR}/m2"
38
38
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
43
39
source "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}"/maven.sh
44
40
45
41
# Overrides for use with maven s2i
Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ source "${JBOSS_CONTAINER_JAVA_S2I_MODULE}/s2i-core-hooks"
11
11
# Global S2I variable setup
12
12
s2i_core_env_init
13
13
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
-
20
14
if [ -z " ${JAVA_OPTS+isunset} " ] && [ -n " ${JAVA_OPTIONS+isset} " ]; then
21
15
JAVA_OPTS=" $JAVA_OPTIONS "
22
16
fi
Original file line number Diff line number Diff line change @@ -9,5 +9,3 @@ source "${JBOSS_CONTAINER_JAVA_S2I_MODULE}/s2i-core-hooks"
9
9
log_warning "s2i-setup script has been deprecated and will be removed in a future release."
10
10
11
11
s2i_core_init
12
-
13
- source "${JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE}/scl-enable-maven"
You can’t perform that action at this time.
0 commit comments