diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml
index 10cfad1fc2e..c36f4cb500c 100644
--- a/.github/workflows/bk-ci.yml
+++ b/.github/workflows/bk-ci.yml
@@ -79,7 +79,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Validate pull request
if: steps.check_changes.outputs.docs_only != 'true'
@@ -157,7 +157,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Tune Java DNS TTL settings
run: |
@@ -238,7 +238,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Tune Java DNS TTL settings
run: |
@@ -332,7 +332,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 8
+ java-version: 17
- name: Pick ubuntu mirror for the docker image build
run: |
@@ -414,7 +414,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: mvn package
run: mvn -B -nsu clean package -DskipTests
@@ -446,7 +446,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: mvn package
run: mvn -B -nsu clean package -DskipTests
@@ -461,10 +461,6 @@ jobs:
fail-fast: false
matrix:
include:
- - step_name: Compatibility Check Java8
- jdk_version: 8
- - step_name: Compatibility Check Java11
- jdk_version: 11
- step_name: Compatibility Check Java17
jdk_version: 17
- step_name: Compatibility Check Java21
diff --git a/.github/workflows/bk-streamstorage-python.yml b/.github/workflows/bk-streamstorage-python.yml
index 71dbe610452..d53b730b07c 100644
--- a/.github/workflows/bk-streamstorage-python.yml
+++ b/.github/workflows/bk-streamstorage-python.yml
@@ -70,7 +70,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Build
run: mvn -q -T 1C -B -nsu clean install -DskipTests -Dcheckstyle.skip -Dspotbugs.skip -Drat.skip -Dmaven.javadoc.skip
- name: Pick ubuntu mirror for the docker image build
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index e838fccc36e..76443f9e740 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -83,7 +83,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Validate pull request
if: steps.check_changes.outputs.docs_only != 'true'
diff --git a/.github/workflows/website-deploy.yaml b/.github/workflows/website-deploy.yaml
index 868b1db0c7b..253ff26647a 100644
--- a/.github/workflows/website-deploy.yaml
+++ b/.github/workflows/website-deploy.yaml
@@ -44,7 +44,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Setup NodeJS
diff --git a/.github/workflows/website-pr-validation.yml b/.github/workflows/website-pr-validation.yml
index 9d38cb59f28..5ffa667582c 100644
--- a/.github/workflows/website-pr-validation.yml
+++ b/.github/workflows/website-pr-validation.yml
@@ -41,7 +41,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
- name: Setup NodeJS
diff --git a/circe-checksum/pom.xml b/circe-checksum/pom.xml
index 376619c6358..fa85a44477c 100644
--- a/circe-checksum/pom.xml
+++ b/circe-checksum/pom.xml
@@ -68,6 +68,10 @@
org.apache.maven.plugins
maven-compiler-plugin
+
+
+ 8
+
com.github.maven-nar
@@ -116,6 +120,36 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ ${maven-enforcer-plugin.version}
+
+
+ enforce-bytecode-version
+
+ enforce
+
+
+
+
+ 8
+
+ test
+
+
+
+
+
+
+
+
+ org.codehaus.mojo
+ extra-enforcer-rules
+ ${extra-enforcer-rules.version}
+
+
+
diff --git a/cpu-affinity/pom.xml b/cpu-affinity/pom.xml
index 5839c916cec..8b676a1d17d 100644
--- a/cpu-affinity/pom.xml
+++ b/cpu-affinity/pom.xml
@@ -53,6 +53,10 @@
org.apache.maven.plugins
maven-compiler-plugin
+
+
+ 8
+
com.github.maven-nar
@@ -92,6 +96,36 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ ${maven-enforcer-plugin.version}
+
+
+ enforce-bytecode-version
+
+ enforce
+
+
+
+
+ 8
+
+ test
+
+
+
+
+
+
+
+
+ org.codehaus.mojo
+ extra-enforcer-rules
+ ${extra-enforcer-rules.version}
+
+
+
diff --git a/pom.xml b/pom.xml
index 2faeda6037f..6fcad27aab4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,8 +116,8 @@
- 1.18.2
- 1.8.0.Final
+ 2.0.0.Final
+ 1.9.4.Final
1.78
3.0.1
1.9.0
@@ -194,6 +194,8 @@
3.3.1
3.12.1
3.2.5
+ 3.5.0
+ 1.8.0
12.1.0
3.10.1
1.7.1
@@ -209,6 +211,19 @@
1.29.0-alpha
http://archive.ubuntu.com/ubuntu/
http://security.ubuntu.com/ubuntu/
+
+
+ --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ --add-opens java.base/java.io=ALL-UNNAMED
+ --add-opens java.base/java.util=ALL-UNNAMED
+ --add-opens java.base/sun.net=ALL-UNNAMED
+ --add-opens java.desktop/java.beans=ALL-UNNAMED
+ --add-opens java.management/sun.management=ALL-UNNAMED
+ --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
+ --add-opens java.base/jdk.internal.platform=ALL-UNNAMED
+
+
@@ -785,6 +800,16 @@
+
+ org.jboss.arquillian.core
+ arquillian-core-spi
+ ${arquillian-junit.version}
+
+
+ org.jboss.arquillian.junit
+ arquillian-junit-container
+ ${arquillian-junit.version}
+
javax.ws.rs
javax.ws.rs-api
@@ -934,6 +959,28 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${maven-compiler-plugin.version}
+
+
+ 17
+ UTF-8
+ true
+ true
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+
+
+
+ -parameters
+
+
+
org.apache.maven.plugins
maven-checkstyle-plugin
@@ -970,6 +1017,10 @@
${maven-surefire-plugin.version}
flaky
+ -XX:+ExitOnOutOfMemoryError
+ -Dio.netty.tryReflectionSetAccessible=true
+ ${test.additional.args}
+
@@ -994,6 +1045,31 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ ${maven-enforcer-plugin.version}
+
+
+ enforce-maven
+
+ enforce
+
+
+
+
+ [17,18),[21,22)
+ Java 17 or Java 21 is required to build Bookkeeper.
+
+
+ 3.6.1
+ Maven 3.6.1 or newer is required to build Bookkeeper.
+
+
+
+
+
+
com.github.spotbugs
spotbugs-maven-plugin
@@ -1002,26 +1078,6 @@
${session.executionRootDirectory}/buildtools/src/main/resources/bookkeeper/findbugsExclude.xml
-
- org.apache.maven.plugins
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
- UTF-8
- true
- true
-
-
- org.projectlombok
- lombok
- ${lombok.version}
-
-
-
- -parameters
-
-
-
org.apache.maven.plugins
maven-surefire-plugin
diff --git a/tests/backward-compat/current-server-old-clients/pom.xml b/tests/backward-compat/current-server-old-clients/pom.xml
index 4c3d5163cc5..ba30e7d1b8b 100644
--- a/tests/backward-compat/current-server-old-clients/pom.xml
+++ b/tests/backward-compat/current-server-old-clients/pom.xml
@@ -29,4 +29,21 @@
jar
Apache BookKeeper :: Tests :: Backward Compatibility :: Test old clients working on current server
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ flaky
+ -XX:+ExitOnOutOfMemoryError
+ -Dio.netty.tryReflectionSetAccessible=true
+ ${test.additional.args}
+
+
+
+
+
+
diff --git a/tests/backward-compat/pom.xml b/tests/backward-compat/pom.xml
index 024656982fe..7de067fbb0d 100644
--- a/tests/backward-compat/pom.xml
+++ b/tests/backward-compat/pom.xml
@@ -63,6 +63,28 @@
org.arquillian.cube
arquillian-cube-docker
+
+
+ org.jboss.arquillian.core
+ arquillian-core-spi
+
+
+
+ org.jboss.arquillian.test
+ arquillian-test-spi
+ ${arquillian-junit.version}
+
+
+
+ org.jboss.arquillian.junit
+ arquillian-junit-container
+
+
+
+ org.yaml
+ snakeyaml
+ ${snakeyaml.version}
+
diff --git a/tests/integration-tests-base/pom.xml b/tests/integration-tests-base/pom.xml
index 402f05c1beb..bd77790b380 100644
--- a/tests/integration-tests-base/pom.xml
+++ b/tests/integration-tests-base/pom.xml
@@ -48,6 +48,23 @@
test
+
+ org.jboss.arquillian.core
+ arquillian-core-spi
+ test
+
+
+
+ org.jboss.arquillian.junit
+ arquillian-junit-container
+ test
+
+
+
+ org.yaml
+ snakeyaml
+ ${snakeyaml.version}
+
diff --git a/tests/integration/smoke/pom.xml b/tests/integration/smoke/pom.xml
index 3793b9cfb55..b612c17bd9c 100644
--- a/tests/integration/smoke/pom.xml
+++ b/tests/integration/smoke/pom.xml
@@ -83,6 +83,12 @@
org.arquillian.cube
arquillian-cube-docker
+
+
+ org.yaml
+ snakeyaml
+ ${snakeyaml.version}
+