diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1712e1ae..e72a2008b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,16 +14,17 @@ jobs: strategy: fail-fast: false matrix: + java: [ 21, 22 ] os: [ubuntu-latest, windows-latest] steps: - name: Checkout Sources uses: actions/checkout@v3 - - name: Setup Java 21 + - name: Setup Java uses: actions/setup-java@v3 with: cache: 'maven' distribution: 'temurin' - java-version: 21 + java-version: ${{ matrix.java }} - name: Build with Maven run: mvn --no-transfer-progress -B install - name: Publish Unit Test Results diff --git a/http/virtual/pom.xml b/http/virtual/pom.xml index 36b7b1bcb..476099d27 100644 --- a/http/virtual/pom.xml +++ b/http/virtual/pom.xml @@ -1,18 +1,16 @@ + 4.0.0 - cloud.piranha.http project 24.4.0-SNAPSHOT - piranha-http-virtual Piranha - HTTP - Virtual Threads implementation - cloud.piranha.http @@ -26,30 +24,8 @@ test - - - org.apache.maven.plugins - maven-compiler-plugin - - ${java.version} - true - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - --enable-preview - ${java.version} - - - - org.apache.maven.plugins maven-surefire-plugin @@ -59,5 +35,68 @@ - + + + jdk21 + + 21 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.version} + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + --enable-preview + ${java.version} + + + + + + + + + jdk22 + + 22 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 22 + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + --enable-preview + 22 + + + + + + + + diff --git a/test/embedded/springboot-virtualthreads/pom.xml b/test/embedded/springboot-virtualthreads/pom.xml index b967db0db..dc87dd0ff 100644 --- a/test/embedded/springboot-virtualthreads/pom.xml +++ b/test/embedded/springboot-virtualthreads/pom.xml @@ -50,14 +50,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - - ${java.version} - true - - org.springframework.boot spring-boot-maven-plugin @@ -68,4 +60,43 @@ + + + jdk21 + + 21 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.version} + true + + + + + + + jdk22 + + 22 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 22 + true + + + + + + +