diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 50d1189734..670e894a57 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -119,11 +119,18 @@ jobs: path: . - name: Extract WildFly run: unzip wildfly.zip - - name: Build with Maven + - if: ${{ matrix.java.name != '11' }} + name: Build with Maven run: | JBOSS_HOME=`pwd`'/wildfly' export JBOSS_HOME=`echo $JBOSS_HOME` mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -pl '!jboss-tck-runner' + - if: ${{ matrix.java.name == '11' }} + name: Build with Maven; skipping incontainer servlet tests due to JDK 11 + run: | + JBOSS_HOME=`pwd`'/wildfly' + export JBOSS_HOME=`echo $JBOSS_HOME` + mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -pl '!environments/servlet/tests/tomcat,!jboss-tck-runner' - name: Prepare failure archive (if maven failed) if: failure() shell: bash @@ -249,7 +256,7 @@ jobs: run: | JBOSS_HOME=`pwd`'/wildfly' export JBOSS_HOME=`echo $JBOSS_HOME` - mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests-web.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -f jboss-tck-runner/pom.xml + mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -f jboss-tck-runner/pom.xml - name: Prepare failure archive (if maven failed) if: failure() shell: bash @@ -332,9 +339,9 @@ jobs: name: test-reports-no-container-jdk${{matrix.java.name}} path: 'test-reports.tgz' - # Weld Examples build and test, only JDK 11 + # Weld Examples build and test, only JDK 17 examples-tests: - name: "Weld Examples build and test - JDK 11}" + name: "Weld Examples build and test - JDK 17}" runs-on: ubuntu-latest needs: build-jdk11 timeout-minutes: 120 @@ -343,7 +350,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v4.2.1 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: Download Maven Repo uses: actions/download-artifact@v4 @@ -364,7 +371,7 @@ jobs: run: | JBOSS_HOME=`pwd`'/wildfly' export JBOSS_HOME=`echo $JBOSS_HOME` - mvn clean verify -Dno-format -Darquillian=wildfly-managed -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f examples/pom.xml + mvn clean verify -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f examples/pom.xml - name: Prepare failure archive (if maven failed) if: failure() shell: bash diff --git a/environments/servlet/tests/base/pom.xml b/environments/servlet/tests/base/pom.xml index 9728fedd88..4a202d738b 100644 --- a/environments/servlet/tests/base/pom.xml +++ b/environments/servlet/tests/base/pom.xml @@ -62,16 +62,4 @@ - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - true - - - - - diff --git a/jboss-tck-runner/pom.xml b/jboss-tck-runner/pom.xml index b1dfb2a9ff..3e124184dd 100644 --- a/jboss-tck-runner/pom.xml +++ b/jboss-tck-runner/pom.xml @@ -20,11 +20,6 @@ http://weld.cdi-spec.org - - - 2.50.0 - - jakarta.enterprise @@ -177,10 +172,8 @@ false - jakarta.enterprise:cdi-tck-core-impl - jakarta.enterprise:cdi-tck-web-impl @@ -266,15 +259,6 @@ false tck-core-suite.xml - - jakarta.enterprise - cdi-tck-web-impl - ${cdi.tck-4-1.version} - xml - suite - false - tck-web-suite.xml - target/suites false @@ -360,7 +344,7 @@ - + incontainer @@ -372,52 +356,10 @@ se - target/suites/tck-web-suite.xml + + target/suites/tck-core-suite.xml - - jakarta.enterprise - cdi-tck-web-impl - ${cdi.tck-4-1.version} - xml - suite - test - - - jakarta.el - jakarta.el-api - - - jakarta.faces - jakarta.faces-api - - - container-se-api - org.jboss.arquillian.container - - - - - - jakarta.enterprise - cdi-tck-web-impl - ${cdi.tck-4-1.version} - test - - - jakarta.el - jakarta.el-api - - - jakarta.faces - jakarta.faces-api - - - container-se-api - org.jboss.arquillian.container - - - org.wildfly.arquillian wildfly-arquillian-container-managed diff --git a/jboss-tck-runner/src/test/tck/tck-tests-web.xml b/jboss-tck-runner/src/test/tck/tck-tests-web.xml index c78184197b..10f76fe276 100644 --- a/jboss-tck-runner/src/test/tck/tck-tests-web.xml +++ b/jboss-tck-runner/src/test/tck/tck-tests-web.xml @@ -2,6 +2,8 @@ + + diff --git a/pom.xml b/pom.xml index 01fd7aa5e8..f3dbae6249 100644 --- a/pom.xml +++ b/pom.xml @@ -60,7 +60,7 @@ 1.2.0.Final 2.0.1 - 4.1.0-M1 + 4.1.0