Skip to content

Commit

Permalink
Fixes #4118 - Update Core Profile TCK to 11.0.0 (#4119)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Oct 24, 2024
1 parent 117cca9 commit b3a5fa2
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 49 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tck-coreprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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()
26 changes: 0 additions & 26 deletions external/coreprofile-tck/pom.xml

This file was deleted.

1 change: 0 additions & 1 deletion external/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</dependencyManagement>

<modules>
<module>coreprofile-tck</module>
<module>ejblite</module>
<module>jakartaee-samples</module>
<module>kickoff</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>cloud.piranha.external.coreprofiletck.coreprofiletck</groupId>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>project</artifactId>
<version>24.11.0-SNAPSHOT</version>
</parent>

<artifactId>installer</artifactId>
<artifactId>piranha-external-tck-coreprofile-installer</artifactId>
<packaging>pom</packaging>

<name>Piranha Core Profile - Core Profile TCK - Installer</name>
<name>Piranha - External - TCK - Core Profile - Installer</name>

<properties>
<tck.home>${project.build.directory}/tck</tck.home>
Expand All @@ -33,7 +33,7 @@
<configuration>
<target>
<!-- Download, unzip and rename TCK -->
<get src="https://download.eclipse.org/jakartaee/coreprofile/10.0/jakarta-core-profile-tck-${coreprofile.tck.version}.zip"
<get src="https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-core-profile-tck-${coreprofile.tck.version}.zip"
dest="${project.build.directory}/tck.zip"
skipexisting="true"/>
<unzip src="${project.build.directory}/tck.zip"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>cloud.piranha.external.coreprofiletck</groupId>
<groupId>cloud.piranha.external.tck</groupId>
<artifactId>project</artifactId>
<version>24.11.0-SNAPSHOT</version>
</parent>

<groupId>cloud.piranha.external.coreprofiletck.coreprofiletck</groupId>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>project</artifactId>
<packaging>pom</packaging>

<name>Piranha Core Profile - Core Profile TCK - Project</name>
<name>Piranha - External - TCK - Core Profile - Project</name>

<properties>
<coreprofile.tck.version>11.0.0</coreprofile.tck.version>
</properties>

<modules>
<module>installer</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>cloud.piranha.external.coreprofiletck.coreprofiletck</groupId>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>project</artifactId>
<version>24.11.0-SNAPSHOT</version>
</parent>

<artifactId>runner</artifactId>
<artifactId>piranha-external-tck-coreprofile-runner</artifactId>
<packaging>jar</packaging>

<name>Piranha Core Profile - Core Profile TCK - Runner</name>
<name>Piranha - External - TCK - Core Profile - Runner</name>

<properties>
<piranha.version>${project.version}</piranha.version>
Expand All @@ -30,20 +30,18 @@
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Run the installer first. Matters when executing in parallel -->
<dependency>
<groupId>cloud.piranha.external.coreprofiletck.coreprofiletck</groupId>
<artifactId>installer</artifactId>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>piranha-external-tck-coreprofile-installer</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>

<!-- The actual TCK jar containing the tests -->
<dependency>
<groupId>jakarta.ee.tck.coreprofile</groupId>
<groupId>jakarta.tck.coreprofile</groupId>
<artifactId>core-profile-tck-impl</artifactId>
<version>10.0.3</version>
<version>${coreprofile.tck.version}</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -107,7 +105,7 @@
</executions>
<configuration>
<dependenciesToScan>
<dependency>jakarta.ee.tck.coreprofile:core-profile-tck-impl</dependency>
<dependency>jakarta.tck.coreprofile:core-profile-tck-impl</dependency>
</dependenciesToScan>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
Expand Down
2 changes: 1 addition & 1 deletion external/tck/inject/installer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<artifactId>piranha-external-tck-inject-installer</artifactId>
<packaging>pom</packaging>

<name>Piranha - External - TCK - Inject TCK - Installer</name>
<name>Piranha - External - TCK - Inject - Installer</name>

<properties>
<tck.home>${project.build.directory}/tck</tck.home>
Expand Down
2 changes: 1 addition & 1 deletion external/tck/inject/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<artifactId>project</artifactId>
<packaging>pom</packaging>

<name>Piranha - External - TCK - Inject TCK - Project</name>
<name>Piranha - External - TCK - Inject - Project</name>

<properties>
<inject.tck.version>2.0.2</inject.tck.version>
Expand Down
2 changes: 1 addition & 1 deletion external/tck/inject/runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<artifactId>piranha-external-tck-inject-runner</artifactId>
<packaging>pom</packaging>

<name>Piranha - External - TCK - Inject TCK - Runner</name>
<name>Piranha - External - TCK - Inject - Runner</name>

<properties>
<tck.home>${project.build.directory}/../../installer/target/tck</tck.home>
Expand Down
2 changes: 2 additions & 0 deletions external/tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
<modules>
<module>annotations</module>
<module>cdi</module>
<module>coreprofile</module>
<module>el</module>
<module>inject</module>
<module>jsonb</module>
<module>jsonp</module>
<module>jwt</module>
<module>rest</module>
<module>server</module>
<module>wasp</module>
</modules>
Expand Down

0 comments on commit b3a5fa2

Please sign in to comment.