Skip to content

Commit 694e27e

Browse files
Jan Lieskovskypskopek
authored andcommitted
[CIAM-1756] Update values of WILDFLY_VERSION & GALLEON_WILDFLY_VERSION
env vars to match their respective versions used in 'EAP_742_CR1_2' tag of JBEAP 7 image Also update urls & MD5 sums of 'wildfly-galleon-maven-plugin' & 'wildfly-provisioning-parent' artifacts, since GALLEON_WILDFLY_VERSION change Signed-off-by: Jan Lieskovsky <[email protected]>
1 parent 0f882b3 commit 694e27e

File tree

2 files changed

+40
-34
lines changed

2 files changed

+40
-34
lines changed

modules/eap/setup/eap/modules/configure.sh

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -952,14 +952,14 @@ fi
952952
rm -rf $JBOSS_HOME/*
953953

954954
# CIAM-1436 correction
955-
# Ensure 'wildfly-galleon-maven-plugin-5.2.0.Alpha2.jar', 'wildfly-galleon-maven-plugin-5.2.0.Alpha2.pom', and
956-
# 'wildfly-provisioning-parent-5.2.0.Alpha2.pom' artifacts are installed to expected location prior launching
955+
# Ensure 'wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}.jar', 'wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}.pom', and
956+
# 'wildfly-provisioning-parent-${GALLEON_WILDFLY_VERSION}.pom' artifacts are installed to expected location prior launching
957957
# the build Galleon s2i feature-pack maven command below
958958

959959
declare -ar EXPECTED_WILDFLY_ARTIFACTS=(
960-
"wildfly-galleon-maven-plugin-5.2.0.Alpha2.jar"
961-
"wildfly-galleon-maven-plugin-5.2.0.Alpha2.pom"
962-
"wildfly-provisioning-parent-5.2.0.Alpha2.pom"
960+
"wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}.jar"
961+
"wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}.pom"
962+
"wildfly-provisioning-parent-${GALLEON_WILDFLY_VERSION}.pom"
963963
)
964964
# Sanity check - confirm the required artifacts are present under "/tmp/artifacts" location
965965
for artifact in "${EXPECTED_WILDFLY_ARTIFACTS[@]}"
@@ -971,23 +971,23 @@ do
971971
fi
972972
done
973973

974-
# Install JAR & POM files of 'wildfly-galleon-maven-plugin-5.2.0.Alpha2' dependency
975-
mvn install:install-file \
976-
-Dfile="/tmp/artifacts/wildfly-galleon-maven-plugin-5.2.0.Alpha2.jar" \
977-
-Dmaven.repo.local="${TMP_GALLEON_LOCAL_MAVEN_REPO}" \
978-
-DpomFile="/tmp/artifacts/wildfly-galleon-maven-plugin-5.2.0.Alpha2.pom" \
974+
# Install JAR & POM files of 'wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}' dependency
975+
mvn install:install-file \
976+
-Dfile="/tmp/artifacts/wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}.jar" \
977+
-Dmaven.repo.local="${TMP_GALLEON_LOCAL_MAVEN_REPO}" \
978+
-DpomFile="/tmp/artifacts/wildfly-galleon-maven-plugin-${GALLEON_WILDFLY_VERSION}.pom" \
979979
--settings "${GALLEON_MAVEN_BUILD_IMG_SETTINGS_XML}"
980980

981-
# Install POM file of 'wildfly-provisioning-parent-5.2.0.Alpha2.pom' dependency
981+
# Install POM file of 'wildfly-provisioning-parent-${GALLEON_WILDFLY_VERSION}.pom' dependency
982982
#
983983
# Note: The '-Dfile' argument in the following command is actually ignored, due
984984
# to using the '-Dpackaging=pom' argument, so the corresponding JAR file
985985
# of 'wildfly-provisioning-parent' isn't needed.
986-
mvn install:install-file \
987-
-Dfile="/tmp/artifacts/wildfly-provisioning-parent-5.2.0.Alpha2.pom" \
988-
-Dmaven.repo.local="${TMP_GALLEON_LOCAL_MAVEN_REPO}" \
989-
-Dpackaging=pom \
990-
-DpomFile="/tmp/artifacts/wildfly-provisioning-parent-5.2.0.Alpha2.pom" \
986+
mvn install:install-file \
987+
-Dfile="/tmp/artifacts/wildfly-provisioning-parent-${GALLEON_WILDFLY_VERSION}.pom" \
988+
-Dmaven.repo.local="${TMP_GALLEON_LOCAL_MAVEN_REPO}" \
989+
-Dpackaging=pom \
990+
-DpomFile="/tmp/artifacts/wildfly-provisioning-parent-${GALLEON_WILDFLY_VERSION}.pom" \
991991
--settings "${GALLEON_MAVEN_BUILD_IMG_SETTINGS_XML}"
992992

993993
# EOF CIAM-1436 correction

modules/eap/setup/eap/modules/module.yaml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,25 @@ artifacts:
5656
# accordingly in the 'modules/eap/setup/eap/modules/configure.sh'
5757
# script too !!!
5858
#
59-
- name: wildfly-galleon-maven-plugin-5.2.0.Alpha2.jar
60-
target: wildfly-galleon-maven-plugin-5.2.0.Alpha2.jar
61-
md5: 3c9a5e92268506c90bce4b37fef83dab
62-
url: https://repo.maven.apache.org/maven2/org/wildfly/galleon-plugins/wildfly-galleon-maven-plugin/5.2.0.Alpha2/wildfly-galleon-maven-plugin-5.2.0.Alpha2.jar
63-
- name: wildfly-galleon-maven-plugin-5.2.0.Alpha2.pom
64-
target: wildfly-galleon-maven-plugin-5.2.0.Alpha2.pom
65-
md5: 5cb783c122d2478f0bc82505ad93a054
66-
url: https://repo1.maven.org/maven2/org/wildfly/galleon-plugins/wildfly-galleon-maven-plugin/5.2.0.Alpha2/wildfly-galleon-maven-plugin-5.2.0.Alpha2.pom
67-
- name: wildfly-provisioning-parent-5.2.0.Alpha2.pom
68-
target: wildfly-provisioning-parent-5.2.0.Alpha2.pom
69-
md5: 03f4634dd62a4e62746a3837fbea608b
70-
url: https://repo1.maven.org/maven2/org/wildfly/galleon-plugins/wildfly-provisioning-parent/5.2.0.Alpha2/wildfly-provisioning-parent-5.2.0.Alpha2.pom
59+
- name: wildfly-galleon-maven-plugin-5.1.2.Final.jar
60+
target: wildfly-galleon-maven-plugin-5.1.2.Final.jar
61+
md5: 0e12d3d2396de56c5f8c8e0851d7f3b8
62+
url: https://repo.maven.apache.org/maven2/org/wildfly/galleon-plugins/wildfly-galleon-maven-plugin/5.1.2.Final/wildfly-galleon-maven-plugin-5.1.2.Final.jar
63+
- name: wildfly-galleon-maven-plugin-5.1.2.Final.pom
64+
target: wildfly-galleon-maven-plugin-5.1.2.Final.pom
65+
md5: 98d3d4c4b128a884fd76893a64599739
66+
url: https://repo1.maven.org/maven2/org/wildfly/galleon-plugins/wildfly-galleon-maven-plugin/5.1.2.Final/wildfly-galleon-maven-plugin-5.1.2.Final.pom
67+
- name: wildfly-provisioning-parent-5.1.2.Final.pom
68+
target: wildfly-provisioning-parent-5.1.2.Final.pom
69+
md5: 7af23761dea205fd0fa622135fba8322
70+
url: https://repo1.maven.org/maven2/org/wildfly/galleon-plugins/wildfly-provisioning-parent/5.1.2.Final/wildfly-provisioning-parent-5.1.2.Final.pom
7171
labels:
7272
- name: "org.jboss.product"
7373
value: "eap"
7474
- name: "org.jboss.product.version"
75-
value: "7.4.0"
75+
value: "7.4.2"
7676
- name: "org.jboss.product.eap.version"
77-
value: "7.4.0"
77+
value: "7.4.2"
7878
- name: "com.redhat.deployments-dir"
7979
value: "/opt/eap/standalone/deployments"
8080
- name: "com.redhat.dev-mode"
@@ -94,15 +94,15 @@ labels:
9494
envs:
9595
- name: "WILDFLY_VERSION"
9696
description: "Mandatory. WildFly server version."
97-
value: "7.4.0.GA-redhat-00005"
97+
value: "7.4.2.GA-redhat-00002"
9898
- name: "LAUNCH_JBOSS_IN_BACKGROUND"
9999
value: "true"
100100
- name: "JBOSS_PRODUCT"
101101
value: "eap"
102102
- name: "JBOSS_EAP_VERSION"
103-
value: "7.4.0"
103+
value: "7.4.2"
104104
- name: "PRODUCT_VERSION"
105-
value: "7.4.0"
105+
value: "7.4.2"
106106
- name: "EAP_FULL_GROUPID"
107107
value: "org.jboss.eap"
108108
- name: "JBOSS_HOME"
@@ -392,8 +392,14 @@ envs:
392392
- name: GALLEON_S2I_FP_ARTIFACT_ID
393393
- name: GALLEON_VERSION
394394
value: "4.2.8.Final"
395+
# Important:
396+
#
397+
# If you are updating 'GALLEON_WILDFLY_VERSION' version below be sure simultaneously to update also
398+
# the versions, urls & MD5 sums of the 'wildfly-galleon-maven-plugin' and 'wildfly-provisioning-parent'
399+
# artifacts listed in the 'artifacts:' section above
400+
#
395401
- name: GALLEON_WILDFLY_VERSION
396-
value: "5.2.0.Alpha2"
402+
value: "5.1.2.Final"
397403
- name: GALLEON_S2I_PRODUCER_NAME
398404
- name: S2I_FP_VERSION
399405
- name: GALLEON_PROVISION_SERVER

0 commit comments

Comments
 (0)