This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/apisix-java-plugin-runner.git
The following commit(s) were added to refs/heads/main by this push:
new ed6e82a ISSUE-314 Upgrade dependencies & adopt Java 21 (#315)
ed6e82a is described below
commit ed6e82a63d4c0b10fc5f4e2721e43880cccee3cf
Author: Benoit TELLIER <[email protected]>
AuthorDate: Thu Feb 6 13:18:14 2025 +0100
ISSUE-314 Upgrade dependencies & adopt Java 21 (#315)
---
.github/workflows/ci.yaml | 4 ++--
.github/workflows/runner-e2e.yml | 2 +-
docs/en/latest/installation-guide.md | 2 +-
docs/zh/quick-start.md | 4 ++--
pom.xml | 12 ++++++------
5 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 0b1394b..6852116 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
- java-version: '11'
+ java-version: '21'
- name: Check License Header
uses:
apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff
- name: 'Install & Test'
@@ -51,6 +51,6 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
- java-version: '11'
+ java-version: '21'
- name: 'Install & Test'
run: ./mvnw clean install -Dgpg.skip=true
diff --git a/.github/workflows/runner-e2e.yml b/.github/workflows/runner-e2e.yml
index 6aa02cb..f84799c 100644
--- a/.github/workflows/runner-e2e.yml
+++ b/.github/workflows/runner-e2e.yml
@@ -43,7 +43,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'zulu'
- java-version: '11'
+ java-version: '21'
- name: build runner
run: |
diff --git a/docs/en/latest/installation-guide.md
b/docs/en/latest/installation-guide.md
index e152c40..b2b86f0 100644
--- a/docs/en/latest/installation-guide.md
+++ b/docs/en/latest/installation-guide.md
@@ -33,7 +33,7 @@ This document explains how to install
apisix-java-plugin-runner.
Prerequisites
-------------
-* JDK 11
+* JDK 21
* APISIX master branch
* Refer to [Debug](how-it-works.md#debug) to build the debug environment.
diff --git a/docs/zh/quick-start.md b/docs/zh/quick-start.md
index 886e9de..c3303ff 100644
--- a/docs/zh/quick-start.md
+++ b/docs/zh/quick-start.md
@@ -2,7 +2,7 @@
### 准备工作
-* JDK 11
+* JDK 21
* APISIX 2.15.0
* Clone the
[apisix-java-plugin-runner](https://github.com/apache/apisix-java-plugin-runner)
project。
@@ -53,7 +53,7 @@
apache-apisix-java-plugin-runner-${your_plugin_version}-bin.tar.gz
```dockerfile
FROM apache/apisix:${version}-debian
-RUN apt -y install openjdk-11-jdk
+RUN apt -y install openjdk-21-jdk
ADD
apache-apisix-java-plugin-runner-${your_plugin_version}-SNAPSHOT-bin.tar.gz
/usr/local/
```
diff --git a/pom.xml b/pom.xml
index e3e7a47..043ebae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,10 +56,10 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <compiler.version>11</compiler.version>
- <netty.version>4.1.54.Final</netty.version>
- <guava.version>30.1.1-jre</guava.version>
- <spring-boot.version>2.6.8</spring-boot.version>
+ <compiler.version>21</compiler.version>
+ <netty.version>4.1.117.Final</netty.version>
+ <guava.version>33.4.0-jre</guava.version>
+ <spring-boot.version>3.4.2</spring-boot.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
</properties>
@@ -84,14 +84,14 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-bom</artifactId>
- <version>2.17.1</version>
+ <version>2.24.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.lmax</groupId>
<artifactId>disruptor</artifactId>
- <version>3.4.4</version>
+ <version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>