From 2eab92674721da3c719abb37f7f8bf7a1938313d Mon Sep 17 00:00:00 2001 From: Mohamed Elzeni Date: Thu, 25 Jul 2024 09:18:26 +0300 Subject: [PATCH] Remove covered cases --- .github/workflows/nightly.yml | 312 ---------------------------------- 1 file changed, 312 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d542048..aeb8b02 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -254,32 +254,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 8 Core Profile, SE 8, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=core -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 8 Core Profile, SE 8, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=core -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 9, SE 8, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt @@ -332,32 +306,6 @@ jobs: rm -f mvn_output.txt - - name: Run Archetype for EE 9 Core Profile, SE 8, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=core -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 9 Core Profile, SE 8, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=core -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 9.1, SE 8, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt @@ -410,110 +358,6 @@ jobs: rm -f mvn_output.txt - - name: Run Archetype for EE 9.1 Core Profile, SE 8, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=core -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 9.1 Core Profile, SE 8, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=core -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 10, SE 8, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="Jakarta EE 10 does not support Java SE 8" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 10, SE 8, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="Jakarta EE 10 does not support Java SE 8" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 10 Web Profile, SE 8, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -Dprofile=web -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="Jakarta EE 10 does not support Java SE 8" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 10 Web Profile, SE 8, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -Dprofile=web -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="Jakarta EE 10 does not support Java SE 8" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 10 Core Profile, SE 8, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -Dprofile=core -DjavaVersion=8 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="Jakarta EE 10 does not support Java SE 8" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 10 Core Profile, SE 8, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -Dprofile=core -DjavaVersion=8 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="Jakarta EE 10 does not support Java SE 8" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 8 Web Profile, SE 8, TomEE run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=web -DjavaVersion=8 -Druntime=tomee -DoutputDirectory=app/tomee -Dgoals="clean package" @@ -823,32 +667,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 8 Core Profile, SE 11, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=core -DjavaVersion=11 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 8 Core Profile, SE 11, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=core -DjavaVersion=11 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 9, SE 11, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -DjavaVersion=11 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" @@ -873,32 +691,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 9 Core Profile, SE 11, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=core -DjavaVersion=11 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 9 Core Profile, SE 11, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=core -DjavaVersion=11 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 9.1, SE 11, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -DjavaVersion=11 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" @@ -923,32 +715,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 9.1 Core Profile, SE 11, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=core -DjavaVersion=11 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 9.1 Core Profile, SE 11, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=core -DjavaVersion=11 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 10, SE 11, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -DjavaVersion=11 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" @@ -1305,32 +1071,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 8 Core Profile, SE 17, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=core -DjavaVersion=17 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 8 Core Profile, SE 17, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=8 -Dprofile=core -DjavaVersion=17 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 9, SE 17, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -DjavaVersion=17 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" @@ -1355,32 +1095,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 9 Core Profile, SE 17, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=core -DjavaVersion=17 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 9 Core Profile, SE 17, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9 -Dprofile=core -DjavaVersion=17 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 9.1, SE 17, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -DjavaVersion=17 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" @@ -1405,32 +1119,6 @@ jobs: docker rmi test-image rm -rf app/payara - - name: Run Archetype for EE 9.1 Core Profile, SE 17, Payara - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=core -DjavaVersion=17 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - - name: Run Archetype for EE 9.1 Core Profile, SE 17, Payara, with Docker - run: | - mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=9.1 -Dprofile=core -DjavaVersion=17 -Druntime=payara -Ddocker=yes -DoutputDirectory=app/payara -Dgoals="clean package" | tee mvn_output.txt - - MAVEN_EXIT_CODE=${PIPESTATUS[0]} - ERROR_MESSAGE="the Core Profile is only supported for Jakarta EE 10" - if ! { [ $MAVEN_EXIT_CODE -ne 0 ] && grep -q "$ERROR_MESSAGE" mvn_output.txt; }; then - echo "Maven build did not fail, or the expected error message was not found. Test Failed." - exit 1 - fi - - rm -f mvn_output.txt - - name: Run Archetype for EE 10, SE 17, Payara run: | mvn archetype:generate -DinteractiveMode=false -DaskForDefaultPropertyValues=false -DarchetypeGroupId=org.eclipse.starter -DarchetypeArtifactId=jakarta-starter -DarchetypeVersion=2.3.0-SNAPSHOT -DjakartaVersion=10 -DjavaVersion=17 -Druntime=payara -DoutputDirectory=app/payara -Dgoals="clean package"