Skip to content

Commit

Permalink
Fixes #3966 - Move Core Profile TCK up in project hierarchy (#3967)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Sep 25, 2024
1 parent 580a26b commit 277c3de
Show file tree
Hide file tree
Showing 31 changed files with 98 additions and 84 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/tck-coreprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: mvn -B -DskipTests=true -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile/annotations
cd external/coreprofile-tck/annotations
mvn -B -ntp verify
cat target/tck/report/text/summary.txt >> $GITHUB_STEP_SUMMARY
atinject:
Expand All @@ -43,12 +43,12 @@ jobs:
run: mvn -B -DskipTests=true -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile/atinject
cd external/coreprofile-tck/atinject
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/coreprofile/atinject/target/tck/example/target/surefire-reports/TEST-*.xml"
paths: "external/coreprofile-tck/atinject/target/tck/example/target/surefire-reports/TEST-*.xml"
if: always()
cdi:
runs-on: ${{ matrix.os }}
Expand All @@ -68,12 +68,12 @@ jobs:
run: mvn -B -DskipTests=true -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile/cdi
cd external/coreprofile-tck/cdi
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/coreprofile/cdi/runner/target/surefire-reports/junitreports/TEST-*.xml"
paths: "external/coreprofile-tck/cdi/runner/target/surefire-reports/junitreports/TEST-*.xml"
if: always()
coreprofile:
runs-on: ${{ matrix.os }}
Expand All @@ -93,12 +93,12 @@ jobs:
run: mvn -B -DskipTests=true -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile/coreprofile
cd external/coreprofile-tck/coreprofile
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/coreprofile/coreprofile/runner/target/failsafe-reports/**/TEST-*.xml"
paths: "external/coreprofile-tck/coreprofile/runner/target/failsafe-reports/**/TEST-*.xml"
if: always()
jsonb:
runs-on: ${{ matrix.os }}
Expand All @@ -118,12 +118,12 @@ jobs:
run: mvn -B -DskipTests=true -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile/jsonb
cd external/coreprofile-tck/jsonb
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/coreprofile/jsonb/target/tck/bin/target/surefire-reports/TEST-*.xml"
paths: "external/coreprofile-tck/jsonb/target/tck/bin/target/surefire-reports/TEST-*.xml"
if: always()
jsonp:
runs-on: ${{ matrix.os }}
Expand All @@ -143,14 +143,14 @@ jobs:
run: mvn -B -DskipTests=true -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile/jsonp
cd external/coreprofile-tck/jsonp
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: |
external/tck/coreprofile/jsonp/target/tck/bin/tck-tests/target/surefire-reports/TEST-*.xml
external/tck/coreprofile/jsonp/target/tck/bin/tck-tests-pluggability/target/surefire-reports/TEST-*.xml
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
if: always()
rest:
runs-on: ${{ matrix.os }}
Expand All @@ -175,5 +175,5 @@ jobs:
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/coreprofile/rest/runner/target/failsafe-reports/**/TEST-*.xml"
paths: "external/coreprofile-tck/rest/runner/target/failsafe-reports/**/TEST-*.xml"
if: always()
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<groupId>cloud.piranha.external.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>
<artifactId>annotations-tck</artifactId>
<packaging>pom</packaging>
<name>Piranha Core Profile - Jakarta Annotations TCK</name>
<name>Piranha Core Profile - Annotations TCK</name>
<properties>
<ant.home>${project.build.directory}/ant</ant.home>
<signature.home>${project.build.directory}/signature</signature.home>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<groupId>cloud.piranha.external.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>
<artifactId>inject-tck</artifactId>
<packaging>pom</packaging>
<name>Piranha Core Profile - Jakarta Inject TCK</name>
<name>Piranha Core Profile - Inject TCK</name>
<properties>
<tck.home>${project.build.directory}/tck</tck.home>
</properties>
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.tck.coreprofile</groupId>
<artifactId>cdi-tck</artifactId>
<groupId>cloud.piranha.external.coreprofiletck.cditck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>

<artifactId>installer</artifactId>
<packaging>pom</packaging>

<name>Piranha Core Profile - Jakarta CDI TCK - Installer</name>
<name>Piranha Core Profile - CDI TCK - Installer</name>

<dependencyManagement>
<dependencies>
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.tck.coreprofile</groupId>
<groupId>cloud.piranha.external.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>

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

<name>Piranha Core Profile - Jakarta Core Profile TCK</name>
<name>Piranha Core Profile - CDI TCK - Project</name>

<modules>
<module>installer</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cloud.piranha.external.coreprofiletck.cditck.runner</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>
<artifactId>core</artifactId>

<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>cdi-tck</artifactId>
<version>24.10.99-SNAPSHOT</version>

<name>Piranha Core Profile - Jakarta CDI TCK - Runner - Core</name>
<name>Piranha Core Profile - CDI TCK - Runner - Core</name>

<properties>
<piranha.version>24.9.0-SNAPSHOT</piranha.version>
<piranha.version>24.10.99-SNAPSHOT</piranha.version>
<weld.version>5.1.2.Final</weld.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cloud.piranha.external.coreprofiletck.cditck.runner</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>

<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>cdi-model</artifactId>
<version>1-SNAPSHOT</version>
<artifactId>lang-model</artifactId>

<name>Piranha Core Profile - Jakarta CDI TCK - Runner - Model</name>
<name>Piranha Core Profile - CDI TCK - Runner - Lang Model</name>
<description>Aggregates dependencies and runs the CDI Lang Model TCK on Piranha</description>

<properties>
<piranha.version>24.9.0-SNAPSHOT</piranha.version>
<piranha.version>${project.version}</piranha.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -86,13 +89,15 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<!-- Disable annotation processor for test sources -->
<testCompilerArgument>-proc:none</testCompilerArgument>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<executions>
<execution>
<goals>
Expand All @@ -113,6 +118,7 @@

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<argLine>-Xmx768m</argLine>
<forkCount>1</forkCount>
Expand All @@ -130,6 +136,7 @@

<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>generate-test-report</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
<modelVersion>4.0.0</modelVersion>

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

<artifactId>runner</artifactId>
<groupId>cloud.piranha.external.coreprofiletck.cditck.runner</groupId>
<artifactId>project</artifactId>
<packaging>pom</packaging>

<name>Piranha Core Profile - Jakarta CDI TCK - Runner</name>
<name>Piranha Core Profile - CDI TCK - Runner - Project</name>

<modules>
<module>core</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cloud.piranha.external.coreprofiletck.cditck.runner</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>

<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>cdi-signature</artifactId>
<version>1-SNAPSHOT</version>
<artifactId>signature</artifactId>

<name>Piranha Core Profile - Jakarta CDI TCK - Runner - Model</name>
<name>Piranha Core Profile - CDI TCK - Runner - Signature</name>
<description>Aggregates dependencies and runs the CDI Signature TCK on Piranha</description>

<properties>
<piranha.version>24.9.0-SNAPSHOT</piranha.version>
<piranha.version>${project.version}</piranha.version>
<piranha.root>${project.build.directory}/piranha</piranha.root>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>coreprofile.installer</artifactId>
<version>1-SNAPSHOT</version>
<parent>
<groupId>cloud.piranha.external.coreprofiletck.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>
<artifactId>installer</artifactId>
<packaging>pom</packaging>

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

<name>Piranha Core Profile - Core Profile TCK - Installer</name>
<properties>
<tck.home>${project.build.directory}/tck</tck.home>
<coreprofile.tck.version>10.0.3</coreprofile.tck.version>
</properties>

<build>
<plugins>
<plugin>
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.tck.coreprofile</groupId>
<groupId>cloud.piranha.external.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>

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

<name>Piranha Core Profile - Jakarta CDI TCK</name>
<name>Piranha Core Profile - Core Profile TCK - Project</name>

<modules>
<module>installer</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>core-runner</artifactId>
<version>1-SNAPSHOT</version>
<parent>
<groupId>cloud.piranha.external.coreprofiletck.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>
<artifactId>runner</artifactId>
<packaging>jar</packaging>

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

<name>Piranha Core Profile - Core Profile TCK - Runner</name>
<properties>
<piranha.version>24.9.0-SNAPSHOT</piranha.version>
<piranha.version>${project.version}</piranha.version>
</properties>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<groupId>cloud.piranha.external.coreprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.10.99-SNAPSHOT</version>
</parent>
<artifactId>jsonb-tck</artifactId>
<packaging>pom</packaging>
<name>Piranha Core Profile - Jakarta JSON Binding TCK</name>
<name>Piranha Core Profile - JSON Binding TCK</name>
<properties>
<tck.home>${project.build.directory}/tck</tck.home>
</properties>
Expand Down
Loading

0 comments on commit 277c3de

Please sign in to comment.