From b3a5fa25d22bbab9bc870c7c3d4e59f43c32fb02 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Thu, 24 Oct 2024 11:24:22 -0500 Subject: [PATCH] Fixes #4118 - Update Core Profile TCK to 11.0.0 (#4119) --- .github/workflows/tck-coreprofile.yml | 9 +++++-- external/coreprofile-tck/pom.xml | 26 ------------------- external/pom.xml | 1 - .../coreprofile/installer/pom.xml | 8 +++--- .../coreprofile/pom.xml | 10 ++++--- .../coreprofile/runner/pom.xml | 18 ++++++------- .../core/CustomJsonbSerializationITFix.java | 0 ...boss.arquillian.core.spi.LoadableExtension | 0 .../runner/src/test/resources/arquillian.xml | 0 external/tck/inject/installer/pom.xml | 2 +- external/tck/inject/pom.xml | 2 +- external/tck/inject/runner/pom.xml | 2 +- external/tck/pom.xml | 2 ++ 13 files changed, 31 insertions(+), 49 deletions(-) delete mode 100644 external/coreprofile-tck/pom.xml rename external/{coreprofile-tck => tck}/coreprofile/installer/pom.xml (87%) rename external/{coreprofile-tck => tck}/coreprofile/pom.xml (67%) rename external/{coreprofile-tck => tck}/coreprofile/runner/pom.xml (85%) rename external/{coreprofile-tck => tck}/coreprofile/runner/src/test/java/cloud/piranha/tck/core/CustomJsonbSerializationITFix.java (100%) rename external/{coreprofile-tck => tck}/coreprofile/runner/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension (100%) rename external/{coreprofile-tck => tck}/coreprofile/runner/src/test/resources/arquillian.xml (100%) diff --git a/.github/workflows/tck-coreprofile.yml b/.github/workflows/tck-coreprofile.yml index f76013d3a5..83a0461479 100644 --- a/.github/workflows/tck-coreprofile.yml +++ b/.github/workflows/tck-coreprofile.yml @@ -77,8 +77,8 @@ jobs: run: mvn -B -DskipTests=true -ntp install - name: Run TCK run: | - cd external/coreprofile-tck/coreprofile - mvn -B -ntp verify + cd external/tck/coreprofile + mvn -B -Dmaven.test.failure.ignore=true -ntp verify - name: Test Summary uses: test-summary/action@v2 with: @@ -189,4 +189,9 @@ jobs: uses: test-summary/action@v2 with: paths: "external/tck/rest/runner/target/failsafe-reports/**/TEST-*.xml" + output: test-summary.md + if: always() + - name: Job Summary + run: | + echo "${{ steps.test_summary.outputs.passed }} out of ${{ steps.test_summary.outputs.total }} tests passed" >> $GITHUB_STEP_SUMMARY if: always() diff --git a/external/coreprofile-tck/pom.xml b/external/coreprofile-tck/pom.xml deleted file mode 100644 index 7b0f7f4b43..0000000000 --- a/external/coreprofile-tck/pom.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - 4.0.0 - - - cloud.piranha.external - project - 24.11.0-SNAPSHOT - - - cloud.piranha.external.coreprofiletck - project - pom - - Piranha Core Profile - Core Profile TCK project - - - coreprofile - - - - - 10.0.3 - - diff --git a/external/pom.xml b/external/pom.xml index be775447f2..1b26f661c1 100644 --- a/external/pom.xml +++ b/external/pom.xml @@ -28,7 +28,6 @@ - coreprofile-tck ejblite jakartaee-samples kickoff diff --git a/external/coreprofile-tck/coreprofile/installer/pom.xml b/external/tck/coreprofile/installer/pom.xml similarity index 87% rename from external/coreprofile-tck/coreprofile/installer/pom.xml rename to external/tck/coreprofile/installer/pom.xml index 499d90d0ab..574bd1c0a6 100644 --- a/external/coreprofile-tck/coreprofile/installer/pom.xml +++ b/external/tck/coreprofile/installer/pom.xml @@ -4,15 +4,15 @@ 4.0.0 - cloud.piranha.external.coreprofiletck.coreprofiletck + cloud.piranha.external.tck.coreprofile project 24.11.0-SNAPSHOT - installer + piranha-external-tck-coreprofile-installer pom - Piranha Core Profile - Core Profile TCK - Installer + Piranha - External - TCK - Core Profile - Installer ${project.build.directory}/tck @@ -33,7 +33,7 @@ - 4.0.0 - cloud.piranha.external.coreprofiletck + cloud.piranha.external.tck project 24.11.0-SNAPSHOT - cloud.piranha.external.coreprofiletck.coreprofiletck + cloud.piranha.external.tck.coreprofile project pom - Piranha Core Profile - Core Profile TCK - Project + Piranha - External - TCK - Core Profile - Project + + + 11.0.0 + installer diff --git a/external/coreprofile-tck/coreprofile/runner/pom.xml b/external/tck/coreprofile/runner/pom.xml similarity index 85% rename from external/coreprofile-tck/coreprofile/runner/pom.xml rename to external/tck/coreprofile/runner/pom.xml index fc433933ed..6e639fbe63 100644 --- a/external/coreprofile-tck/coreprofile/runner/pom.xml +++ b/external/tck/coreprofile/runner/pom.xml @@ -4,15 +4,15 @@ 4.0.0 - cloud.piranha.external.coreprofiletck.coreprofiletck + cloud.piranha.external.tck.coreprofile project 24.11.0-SNAPSHOT - runner + piranha-external-tck-coreprofile-runner jar - Piranha Core Profile - Core Profile TCK - Runner + Piranha - External - TCK - Core Profile - Runner ${project.version} @@ -30,20 +30,18 @@ - - cloud.piranha.external.coreprofiletck.coreprofiletck - installer + cloud.piranha.external.tck.coreprofile + piranha-external-tck-coreprofile-installer ${project.version} pom - provided - jakarta.ee.tck.coreprofile + jakarta.tck.coreprofile core-profile-tck-impl - 10.0.3 + ${coreprofile.tck.version} test @@ -107,7 +105,7 @@ - jakarta.ee.tck.coreprofile:core-profile-tck-impl + jakarta.tck.coreprofile:core-profile-tck-impl 1 false diff --git a/external/coreprofile-tck/coreprofile/runner/src/test/java/cloud/piranha/tck/core/CustomJsonbSerializationITFix.java b/external/tck/coreprofile/runner/src/test/java/cloud/piranha/tck/core/CustomJsonbSerializationITFix.java similarity index 100% rename from external/coreprofile-tck/coreprofile/runner/src/test/java/cloud/piranha/tck/core/CustomJsonbSerializationITFix.java rename to external/tck/coreprofile/runner/src/test/java/cloud/piranha/tck/core/CustomJsonbSerializationITFix.java diff --git a/external/coreprofile-tck/coreprofile/runner/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension b/external/tck/coreprofile/runner/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension similarity index 100% rename from external/coreprofile-tck/coreprofile/runner/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension rename to external/tck/coreprofile/runner/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension diff --git a/external/coreprofile-tck/coreprofile/runner/src/test/resources/arquillian.xml b/external/tck/coreprofile/runner/src/test/resources/arquillian.xml similarity index 100% rename from external/coreprofile-tck/coreprofile/runner/src/test/resources/arquillian.xml rename to external/tck/coreprofile/runner/src/test/resources/arquillian.xml diff --git a/external/tck/inject/installer/pom.xml b/external/tck/inject/installer/pom.xml index dba6834cdc..ced8feec22 100644 --- a/external/tck/inject/installer/pom.xml +++ b/external/tck/inject/installer/pom.xml @@ -12,7 +12,7 @@ piranha-external-tck-inject-installer pom - Piranha - External - TCK - Inject TCK - Installer + Piranha - External - TCK - Inject - Installer ${project.build.directory}/tck diff --git a/external/tck/inject/pom.xml b/external/tck/inject/pom.xml index 255e9821a0..6114b10ba3 100644 --- a/external/tck/inject/pom.xml +++ b/external/tck/inject/pom.xml @@ -13,7 +13,7 @@ project pom - Piranha - External - TCK - Inject TCK - Project + Piranha - External - TCK - Inject - Project 2.0.2 diff --git a/external/tck/inject/runner/pom.xml b/external/tck/inject/runner/pom.xml index 4647e940d7..2c6bc7608d 100644 --- a/external/tck/inject/runner/pom.xml +++ b/external/tck/inject/runner/pom.xml @@ -12,7 +12,7 @@ piranha-external-tck-inject-runner pom - Piranha - External - TCK - Inject TCK - Runner + Piranha - External - TCK - Inject - Runner ${project.build.directory}/../../installer/target/tck diff --git a/external/tck/pom.xml b/external/tck/pom.xml index c493836fbd..0e4a24bf52 100644 --- a/external/tck/pom.xml +++ b/external/tck/pom.xml @@ -18,11 +18,13 @@ annotations cdi + coreprofile el inject jsonb jsonp jwt + rest server wasp