Skip to content

Commit 5465350

Browse files
authored
Added support for Java 21 and removed support for Java 11. (#640)
Signed-off-by: Helber Belmiro <[email protected]>
1 parent 87e8a0b commit 5465350

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
matrix:
3030
os: [ubuntu-latest, windows-latest]
3131
java: [
32-
{ 'version': '11' },
33-
{ 'version': '17' }
32+
{ 'version': '17' },
33+
{ 'version': '21' }
3434
]
3535
steps:
3636
- name: Prepare git
@@ -55,8 +55,8 @@ jobs:
5555
matrix:
5656
os: [ubuntu-latest, windows-latest]
5757
java: [
58-
{ 'version': '11' },
59-
{ 'version': '17' }
58+
{ 'version': '17' },
59+
{ 'version': '21' }
6060
]
6161
steps:
6262
- name: Prepare git

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/setup-java@v4
3131
with:
3232
distribution: temurin
33-
java-version: 11
33+
java-version: 17
3434

3535
- name: Initialize CodeQL
3636
uses: github/codeql-action/init@v3

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3030
passphrase: ${{ secrets.GPG_PASSPHRASE }}
3131

32-
- name: Set up JDK 11
32+
- name: Set up JDK 17
3333
uses: actions/setup-java@v4
3434
with:
3535
distribution: temurin
36-
java-version: 11
36+
java-version: 17
3737

3838
- name: Cache local Maven repository
3939
uses: actions/cache@v4

.lgtm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ extraction:
88
maven:
99
version: "3.8.4"
1010
# Specify the Java version required to build the project
11-
java_version: "11"
11+
java_version: "17"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
> **⚠️** This is the instructions for the latest SNAPSHOT version (main branch). Please, see the [latest **released** documentation](https://github.com/quarkiverse/quarkus-openapi-generator/blob/1.0.1/README.md) if you are looking for instructions.
1212
13+
> **⚠️** This extension, [like Quarkus 3.7](https://quarkus.io/blog/java-17/), requires Java 17. The last version of this extension that supports earlier versions of Java is [2.2.16](https://github.com/quarkiverse/quarkus-openapi-generator/releases/tag/2.2.16).
14+
1315
> **⚠️** Check versions 1.x.x if you're still using Quarkus 2. But be aware that we no longer support Quarkus 2. That means there are no updates planned for those versions.
1416
1517
Quarkus' extension for generation of [Rest Clients](https://quarkus.io/guides/rest-client) based on OpenAPI specification files.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</scm>
2626
<properties>
2727
<compiler-plugin.version>3.8.1</compiler-plugin.version>
28-
<maven.compiler.release>11</maven.compiler.release>
28+
<maven.compiler.release>17</maven.compiler.release>
2929
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3030
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3131
<quarkus.version>3.6.7</quarkus.version>

0 commit comments

Comments
 (0)