Skip to content

Commit ed6e82a

Browse files
authored
ISSUE-314 Upgrade dependencies & adopt Java 21 (#315)
1 parent 0b6e4e1 commit ed6e82a

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/setup-java@v2
3636
with:
3737
distribution: 'zulu'
38-
java-version: '11'
38+
java-version: '21'
3939
- name: Check License Header
4040
uses: apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff
4141
- name: 'Install & Test'
@@ -51,6 +51,6 @@ jobs:
5151
- uses: actions/setup-java@v2
5252
with:
5353
distribution: 'zulu'
54-
java-version: '11'
54+
java-version: '21'
5555
- name: 'Install & Test'
5656
run: ./mvnw clean install -Dgpg.skip=true

.github/workflows/runner-e2e.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/setup-java@v2
4444
with:
4545
distribution: 'zulu'
46-
java-version: '11'
46+
java-version: '21'
4747

4848
- name: build runner
4949
run: |

docs/en/latest/installation-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This document explains how to install apisix-java-plugin-runner.
3333
Prerequisites
3434
-------------
3535

36-
* JDK 11
36+
* JDK 21
3737
* APISIX master branch
3838
* Refer to [Debug](how-it-works.md#debug) to build the debug environment.
3939

docs/zh/quick-start.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### 准备工作
44

5-
* JDK 11
5+
* JDK 21
66
* APISIX 2.15.0
77
* Clone the [apisix-java-plugin-runner](https://github.com/apache/apisix-java-plugin-runner) project。
88

@@ -53,7 +53,7 @@ apache-apisix-java-plugin-runner-${your_plugin_version}-bin.tar.gz
5353
```dockerfile
5454
FROM apache/apisix:${version}-debian
5555

56-
RUN apt -y install openjdk-11-jdk
56+
RUN apt -y install openjdk-21-jdk
5757

5858
ADD apache-apisix-java-plugin-runner-${your_plugin_version}-SNAPSHOT-bin.tar.gz /usr/local/
5959
```

pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656

5757
<properties>
5858
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59-
<compiler.version>11</compiler.version>
60-
<netty.version>4.1.54.Final</netty.version>
61-
<guava.version>30.1.1-jre</guava.version>
62-
<spring-boot.version>2.6.8</spring-boot.version>
59+
<compiler.version>21</compiler.version>
60+
<netty.version>4.1.117.Final</netty.version>
61+
<guava.version>33.4.0-jre</guava.version>
62+
<spring-boot.version>3.4.2</spring-boot.version>
6363
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
6464
</properties>
6565

@@ -84,14 +84,14 @@
8484
<dependency>
8585
<groupId>org.apache.logging.log4j</groupId>
8686
<artifactId>log4j-bom</artifactId>
87-
<version>2.17.1</version>
87+
<version>2.24.3</version>
8888
<type>pom</type>
8989
<scope>import</scope>
9090
</dependency>
9191
<dependency>
9292
<groupId>com.lmax</groupId>
9393
<artifactId>disruptor</artifactId>
94-
<version>3.4.4</version>
94+
<version>4.0.0</version>
9595
</dependency>
9696
<dependency>
9797
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)