From e3dd5c47e172d6a633fdde1c83efff33f3838df6 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Thu, 24 Oct 2024 07:31:23 -0500 Subject: [PATCH] Fixes #4111 - Update JSON Processing TCK (#4112) --- .github/workflows/tck-coreprofile.yml | 6 +- external/coreprofile-tck/pom.xml | 4 - .../jsonp => tck/jsonp/installer}/pom.xml | 35 +-------- external/tck/jsonp/pom.xml | 39 ++++++++++ external/tck/jsonp/runner/pom.xml | 74 +++++++++++++++++++ external/tck/pom.xml | 1 + 6 files changed, 120 insertions(+), 39 deletions(-) rename external/{coreprofile-tck/jsonp => tck/jsonp/installer}/pom.xml (69%) create mode 100644 external/tck/jsonp/pom.xml create mode 100644 external/tck/jsonp/runner/pom.xml diff --git a/.github/workflows/tck-coreprofile.yml b/.github/workflows/tck-coreprofile.yml index 265195fc9..2d26bf5a1 100644 --- a/.github/workflows/tck-coreprofile.yml +++ b/.github/workflows/tck-coreprofile.yml @@ -153,14 +153,14 @@ jobs: run: mvn -B -DskipTests=true -ntp install - name: Run TCK run: | - cd external/coreprofile-tck/jsonp + cd external/tck/jsonp mvn -B -ntp verify - name: Test Summary uses: test-summary/action@v2 with: paths: | - external/coreprofile-tck/jsonp/target/tck/bin/tck-tests/target/surefire-reports/TEST-*.xml - external/coreprofile-tck/jsonp/target/tck/bin/tck-tests-pluggability/target/surefire-reports/TEST-*.xml + external/tck/jsonb/installer/target/tck/bin/tck-tests/target/surefire-reports/TEST-*.xml + external/tck/jsonb/installer/target/tck/bin/tck-tests-pluggability/target/surefire-reports/TEST-*.xml if: always() rest: if: github.repository == 'piranhacloud/piranha' diff --git a/external/coreprofile-tck/pom.xml b/external/coreprofile-tck/pom.xml index 863d61edf..126de66b2 100644 --- a/external/coreprofile-tck/pom.xml +++ b/external/coreprofile-tck/pom.xml @@ -18,7 +18,6 @@ cdi coreprofile - jsonp rest @@ -26,11 +25,8 @@ 4.0.13 10.0.3 - 2.1.1 3.1.5 - 1.1.7 6.0.0.Beta4 - 3.0.4 diff --git a/external/coreprofile-tck/jsonp/pom.xml b/external/tck/jsonp/installer/pom.xml similarity index 69% rename from external/coreprofile-tck/jsonp/pom.xml rename to external/tck/jsonp/installer/pom.xml index 5ea804c51..3c71fddba 100644 --- a/external/coreprofile-tck/jsonp/pom.xml +++ b/external/tck/jsonp/installer/pom.xml @@ -4,32 +4,20 @@ 4.0.0 - cloud.piranha.external.coreprofiletck + cloud.piranha.external.tck.jsonp project 24.11.0-SNAPSHOT - jsonp-tck + piranha-external-tck-jsonp-installer pom - Piranha Core Profile - JSON Processing TCK + Piranha - External - TCK - JSON Processing - Installer ${project.build.directory}/tck - - - - cloud.piranha - bom - ${project.version} - pom - import - - - - @@ -71,23 +59,6 @@ - - integration-test - integration-test - - run - - - - - - - - - - diff --git a/external/tck/jsonp/pom.xml b/external/tck/jsonp/pom.xml new file mode 100644 index 000000000..c6e4e00ff --- /dev/null +++ b/external/tck/jsonp/pom.xml @@ -0,0 +1,39 @@ + + + + 4.0.0 + + + cloud.piranha.external.tck + project + 24.11.0-SNAPSHOT + + + cloud.piranha.external.tck.jsonp + project + pom + + Piranha - External - TCK - JSON Processing - Project + + + 2.1.1 + + + + installer + runner + + + + + + cloud.piranha + bom + ${project.version} + pom + import + + + + + diff --git a/external/tck/jsonp/runner/pom.xml b/external/tck/jsonp/runner/pom.xml new file mode 100644 index 000000000..0205d0fe0 --- /dev/null +++ b/external/tck/jsonp/runner/pom.xml @@ -0,0 +1,74 @@ + + + + 4.0.0 + + + cloud.piranha.external.tck.jsonp + project + 24.11.0-SNAPSHOT + + + cloud-piranha-external-tck-jsonp-runner + pom + + Piranha - External - TCK - JSON Processing - Runner + + + ${project.build.directory}/../../installer/target/tck + + + + + + cloud.piranha + bom + ${project.version} + pom + import + + + + + + cloud.piranha.external.tck.jsonp + piranha-external-tck-jsonp-installer + ${project.version} + pom + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + integration-test + integration-test + + run + + + + + ---------------------------------------------------------- + Running JSON Processing TCK ${jsonp.tck.version} against Parsson ${parsson.version} + ---------------------------------------------------------- + + + + ---------------------------------------------------------- + Ran JSON Processing TCK ${jsonp.tck.version} against Parsson ${parsson.version} + ---------------------------------------------------------- + + + + + + + + diff --git a/external/tck/pom.xml b/external/tck/pom.xml index bf49dc488..fcd3b3b42 100644 --- a/external/tck/pom.xml +++ b/external/tck/pom.xml @@ -20,6 +20,7 @@ el inject jsonb + jsonp jwt server wasp