Skip to content

Commit 5f62b38

Browse files
committed
Updated vars in infinispan client script
1 parent bd94dab commit 5f62b38

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ga/latest/kernel/helpers/build/infinispan-client-setup.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616

1717
set -Eeo pipefail
1818

19-
INFINISPAN_CLIENT_VERSION=${INFINISPAN_CLIENT_VERSION:-10.1.3.Final}
20-
INFINISPAN_USE_LATEST_COMPATIBLE=${INFINISPAN_USE_LATEST_COMPATIBLE:-false}
19+
INFINISPAN_LATEST_STABLE_VERSION="14.0.0.Final"
20+
INFINISPAN_CLIENT_VERSION=${INFINISPAN_CLIENT_VERSION:-$INFINISPAN_LATEST_STABLE_VERSION}
21+
INFINISPAN_USE_LATEST_STABLE=${INFINISPAN_USE_LATEST_STABLE:-false}
2122

2223
pkgcmd=yum
2324
if ! command $pkgcmd
@@ -47,8 +48,8 @@ cat << EOF > /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
4748
</project>
4849
EOF
4950

50-
if [ "${INFINISPAN_USE_LATEST_COMPATIBLE}" = "true" ]; then
51-
echo "Finding latest compatible Infinispan client version..."
51+
if [ "${INFINISPAN_USE_LATEST_STABLE}" = "true" ]; then
52+
echo "Finding latest stable Infinispan client version..."
5253
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml versions:use-latest-releases -DallowMajorUpdates=false
5354
fi
5455
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml dependency:copy-dependencies -DoutputDirectory=/opt/ibm/wlp/usr/shared/resources/infinispan

0 commit comments

Comments
 (0)