diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 086282e8d4e..21a4e4d4dab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8,11] + java: [8,11,17,21] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/kubernetes-client/src/test/java/io/fabric8/kubernetes/client/behavior/UploadTest.java b/kubernetes-client/src/test/java/io/fabric8/kubernetes/client/behavior/UploadTest.java index 85bf256ae31..9d87880dd13 100644 --- a/kubernetes-client/src/test/java/io/fabric8/kubernetes/client/behavior/UploadTest.java +++ b/kubernetes-client/src/test/java/io/fabric8/kubernetes/client/behavior/UploadTest.java @@ -37,6 +37,7 @@ import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnJre; import org.junit.jupiter.api.io.TempDir; import org.mockito.ArgumentCaptor; @@ -61,6 +62,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.condition.JRE.JAVA_21; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; @@ -296,6 +298,7 @@ void longFileNamesSupported() throws Exception { .hasFieldOrPropertyWithValue("name", longFileName); } + @DisabledOnJre(JAVA_21) @Test @DisplayName("Big numbers supported (POSIX)") void bigNumbersSupported(@TempDir Path tempDir) throws Exception { diff --git a/platforms/karaf/pom.xml b/platforms/karaf/pom.xml index 30fa031e65e..50f9342241f 100644 --- a/platforms/karaf/pom.xml +++ b/platforms/karaf/pom.xml @@ -36,7 +36,8 @@ 4.4.5 6.0.0 - 4.13.5 + + 4.13.3 diff --git a/pom.xml b/pom.xml index db2080ad555..835c8b751bd 100644 --- a/pom.xml +++ b/pom.xml @@ -113,7 +113,8 @@ 4.2.1 23.0.1 4.11.0 - 2.3-groovy-4.0 + 4.11.0 + 2.4-M4-groovy-4.0 1.4.2_1 1.0.2 @@ -164,8 +165,7 @@ 3.12.0 3.0.2 0.0.5 - 1.2.3 - 2.4.4.Final + 3.1.7 0.8.12 1.16.2 3.11.0.3922 @@ -903,7 +903,7 @@ org.mockito mockito-inline - ${mockito.version} + ${mockito-inline.version} test @@ -1095,7 +1095,7 @@ ${maven.invoker.plugin.version} - org.jboss.jandex + io.smallrye jandex-maven-plugin ${jandex.plugin.version} @@ -1107,13 +1107,6 @@ true - - - org.jboss - jandex - ${jandex.version} - - org.jacoco @@ -1172,7 +1165,7 @@ - org.jboss.jandex + io.smallrye jandex-maven-plugin @@ -1581,6 +1574,17 @@ + + java-17 + + [17,) + + + 5.11.0 + 5.2.0 + true + + javadoc-test