You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2022/07/01 08:49:29 UTC

[myfaces-tobago] branch master updated: do not check java 16, because its not LTS

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new fef01089ed do not check java 16, because its not LTS
fef01089ed is described below

commit fef01089edd9af38262f9294c7ddae0e009468d7
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Jul 1 10:47:03 2022 +0200

    do not check java 16, because its not LTS
---
 tobago-example/tobago-example-demo/test-scenarios-locally.sh | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/tobago-example/tobago-example-demo/test-scenarios-locally.sh b/tobago-example/tobago-example-demo/test-scenarios-locally.sh
index cbb34e2528..04b5fa16ff 100755
--- a/tobago-example/tobago-example-demo/test-scenarios-locally.sh
+++ b/tobago-example/tobago-example-demo/test-scenarios-locally.sh
@@ -35,12 +35,6 @@ if [ $? != 0 ]; then
   exit 1
 fi
 
-${JAVA_HOME_16}/bin/java -version
-if [ $? != 0 ]; then
-  echo "Java 16 not found!"
-  exit 1
-fi
-
 ${JAVA_HOME_17}/bin/java -version
 if [ $? != 0 ]; then
   echo "Java 17 (LTS) not found!"
@@ -115,9 +109,6 @@ check() {
   11)
     export JAVA_HOME=${JAVA_HOME_11}
     ;;
-  16)
-    export JAVA_HOME=${JAVA_HOME_16}
-    ;;
   17)
     export JAVA_HOME=${JAVA_HOME_17}
     ;;
@@ -174,7 +165,7 @@ check() {
 
 # xxx -Pprod doesn't exist, but this is no problem
 for MODE in "dev" "prod" ; do
-  for JAVA_VERSION in 8 11 16 17 ; do
+  for JAVA_VERSION in 8 11 17 ; do
 
     check ${JAVA_VERSION} "mvn clean jetty:run -P${MODE} -Pjetty"              "Jetty 9 with MyFaces 2.3"