diff --git a/.github/workflows/tck-core-profile.yml b/.github/workflows/tck-core-profile.yml index 87458f8bdb..1a4bcf6841 100644 --- a/.github/workflows/tck-core-profile.yml +++ b/.github/workflows/tck-core-profile.yml @@ -46,6 +46,48 @@ jobs: run: | cd external/tck/coreprofile/atinject mvn -B -ntp verify + cdi: + runs-on: ${{ matrix.os }} + strategy: + matrix: + java: [ '21' ] + os: [ubuntu-latest] + steps: + - name: Checkout Sources + uses: actions/checkout@v3 + - name: Set up Java ${{ matrix.java }} + uses: actions/setup-java@v3 + with: + cache: 'maven' + distribution: 'temurin' + java-version: ${{ matrix.java }} + - name: Setup for TCK + run: mvn -B -DskipTests=true -ntp install + - name: Run TCK + run: | + cd external/tck/coreprofile/cdi + mvn -B -ntp verify + coreprofile: + runs-on: ${{ matrix.os }} + strategy: + matrix: + java: [ '21' ] + os: [ubuntu-latest] + steps: + - name: Checkout Sources + uses: actions/checkout@v3 + - name: Set up Java ${{ matrix.java }} + uses: actions/setup-java@v3 + with: + cache: 'maven' + distribution: 'temurin' + java-version: ${{ matrix.java }} + - name: Setup for TCK + run: mvn -B -DskipTests=true -ntp install + - name: Run TCK + run: | + cd external/tck/coreprofile/coreprofile + mvn -B -ntp verify jsonb: runs-on: ${{ matrix.os }} strategy: diff --git a/docs/pom.xml b/docs/pom.xml index f9e383e97d..db1c2e2c79 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -19,6 +19,14 @@ maven-site-plugin 3.20.0 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.3 + + true + + diff --git a/external/tck/coreprofile/cdi/cdi-runner/pom.xml b/external/tck/coreprofile/cdi/cdi-runner/pom.xml new file mode 100644 index 0000000000..dad1ef95af --- /dev/null +++ b/external/tck/coreprofile/cdi/cdi-runner/pom.xml @@ -0,0 +1,155 @@ + + + + 4.0.0 + tck + cdi-runner + 1-SNAPSHOT + jar + Piranha - External - TCK - CoreProfile - Jakarta CDI TCK - Runner + + 24.9.0-SNAPSHOT + + + + + org.jboss.arquillian + arquillian-bom + 1.8.0.Final + test + pom + + + + + + unix + + + unix + + + + + cloud.piranha.arquillian + piranha-arquillian-jarcontainer + ${piranha.version} + + + org.testng + testng + 6.9.8 + test + + + jakarta.enterprise + cdi-tck-core-impl + 4.0.13 + test + + + jakarta.el + jakarta.el-api + + + jakarta.faces + jakarta.faces-api + + + container-se-api + org.jboss.arquillian.container + + + + + org.jboss.arquillian.protocol + arquillian-protocol-servlet-jakarta + 1.8.0.Final + test + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.4.2 + + + process-test-classes + + test-jar + + + ${project.build.directory}/dependency/lib + + + false + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.3.1 + + + + test + + + + + + jakarta.enterprise:cdi-tck-core-impl + + cdi-full,se + 1 + + + surefire.testng.verbose + 1 + + + false + + ${project.build.directory}/dependency/lib + + true + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 3.3.1 + + + generate-test-report + test + + report-only + + + + + target/surefire-reports + test-report + + + + + + + diff --git a/external/tck/coreprofile/cdi/cdi-runner/src/test/resources/META-INF/cdi-tck.properties b/external/tck/coreprofile/cdi/cdi-runner/src/test/resources/META-INF/cdi-tck.properties new file mode 100644 index 0000000000..2a3a900808 --- /dev/null +++ b/external/tck/coreprofile/cdi/cdi-runner/src/test/resources/META-INF/cdi-tck.properties @@ -0,0 +1,4 @@ +org.jboss.cdi.tck.testDataSource=java:comp/DefaultDataSource +org.jboss.cdi.tck.testJmsConnectionFactory=java:/ConnectionFactory +org.jboss.cdi.tck.testJmsQueue=java:/queue/test +org.jboss.cdi.tck.testJmsTopic=java:/topic/test diff --git a/external/tck/coreprofile/cdi/cdi-runner/src/test/resources/arquillian.xml b/external/tck/coreprofile/cdi/cdi-runner/src/test/resources/arquillian.xml new file mode 100644 index 0000000000..16507cd026 --- /dev/null +++ b/external/tck/coreprofile/cdi/cdi-runner/src/test/resources/arquillian.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/external/tck/coreprofile/cdi/pom.xml b/external/tck/coreprofile/cdi/pom.xml new file mode 100644 index 0000000000..e87492e350 --- /dev/null +++ b/external/tck/coreprofile/cdi/pom.xml @@ -0,0 +1,90 @@ + + + + 4.0.0 + + cloud.piranha.external.tck.coreprofile + project + 24.9.0-SNAPSHOT + + cloud.piranha.external.tck.coreprofile.cdi + project + pom + Piranha - External - TCK - CoreProfile - Jakarta CDI TCK + + + + cloud.piranha + bom + ${project.version} + pom + import + + + + + + unix + + + unix + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + validate + validate + + run + + + + Executing UNIX profile + + + + + + + + + + + + + + + + + integration-test + integration-test + + run + + + + + + + + + + + + + + + + + diff --git a/external/tck/coreprofile/coreprofile/core-tck/pom.xml b/external/tck/coreprofile/coreprofile/core-tck/pom.xml new file mode 100644 index 0000000000..40dd6e6190 --- /dev/null +++ b/external/tck/coreprofile/coreprofile/core-tck/pom.xml @@ -0,0 +1,132 @@ + + + + 4.0.0 + tck + core-runner + 1-SNAPSHOT + jar + Piranha - External - TCK - CoreProfile - Jakarta CDI TCK - Runner + + 24.9.0-SNAPSHOT + + + + + org.jboss.arquillian + arquillian-bom + 1.8.0.Final + test + pom + + + + + + unix + + + unix + + + + + cloud.piranha.arquillian + piranha-arquillian-jarcontainer + ${piranha.version} + test + + + jakarta.ee.tck.coreprofile + core-profile-tck-impl + 10.0.3 + test + + + org.jboss.arquillian.protocol + arquillian-protocol-servlet-jakarta + 1.8.0.Final + test + + + org.jboss.arquillian.junit5 + arquillian-junit5-container + 1.8.0.Final + test + + + org.junit.jupiter + junit-jupiter + 5.11.0 + test + + + org.junit.jupiter + junit-jupiter-api + 5.11.0 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.11.0 + test + + + + org.jboss.resteasy + resteasy-core + 6.1.0.Beta2 + test + + + org.jboss.resteasy + resteasy-client + 6.1.0.Beta2 + test + + + org.jboss.resteasy + resteasy-json-binding-provider + 6.1.0.Beta2 + test + + + org.jboss.resteasy + resteasy-jaxb-provider + 6.1.0.Beta2 + test + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0 + + + verify + + integration-test + verify + + + + + + jakarta.ee.tck.coreprofile:core-profile-tck-impl + + 1 + false + + piranha + + true + + + + + + + diff --git a/external/tck/coreprofile/coreprofile/core-tck/src/test/resources/arquillian.xml b/external/tck/coreprofile/coreprofile/core-tck/src/test/resources/arquillian.xml new file mode 100644 index 0000000000..bf4a6f1bef --- /dev/null +++ b/external/tck/coreprofile/coreprofile/core-tck/src/test/resources/arquillian.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/external/tck/coreprofile/coreprofile/pom.xml b/external/tck/coreprofile/coreprofile/pom.xml new file mode 100644 index 0000000000..c46a640912 --- /dev/null +++ b/external/tck/coreprofile/coreprofile/pom.xml @@ -0,0 +1,93 @@ + + + + 4.0.0 + + cloud.piranha.external.tck.coreprofile + project + 24.9.0-SNAPSHOT + + piranha-external-tck-coreprofile-jakarta-coreprofile-tck + pom + Piranha - External - TCK - CoreProfile - Jakarta CoreProfile TCK + + ${project.build.directory}/ant + ${project.build.directory}/signature + ${project.build.directory}/tck + ${tck.home}/src/com/sun/ts/tests + + + + + cloud.piranha + bom + ${project.version} + pom + import + + + + + + unix + + + unix + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + validate + validate + + run + + + + Executing UNIX profile + + + + + + + + + + + + + + + integration-test + integration-test + + run + + + + + + + + + + + + + + + + + diff --git a/external/tck/coreprofile/pom.xml b/external/tck/coreprofile/pom.xml index 555264801d..5bb546debd 100644 --- a/external/tck/coreprofile/pom.xml +++ b/external/tck/coreprofile/pom.xml @@ -18,6 +18,8 @@ annotations atinject + cdi + coreprofile jsonb jsonp rest