Skip to content

Commit 4392883

Browse files
committed
Update minimum Java baseline from 8 to 17 (databind#4820)
1 parent b2efb0f commit 4392883

File tree

3 files changed

+35
-9
lines changed

3 files changed

+35
-9
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ on:
44
branches:
55
- master
66
- "3.0"
7-
- "2.19"
87
paths-ignore:
98
- "README.md"
109
- "release-notes/*"
1110
pull_request:
1211
branches:
1312
- master
1413
- "3.0"
15-
- "2.19"
1614
paths-ignore:
1715
- "README.md"
1816
- "release-notes/*"
@@ -27,18 +25,18 @@ jobs:
2725
fail-fast: false
2826
max-parallel: 5
2927
matrix:
30-
java_version: ['8', '11', '17', '21', '23']
28+
java_version: ['17', '21', '23']
3129
kotlin_version: ['1.9.24', '2.0.21', '2.1.0']
3230
include:
33-
- java_version: '8'
31+
- java_version: '17'
3432
kotlin_version: '1.9.24'
3533
release_build: 'R'
3634
env:
3735
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
3836
steps:
39-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4038
- name: Set up JDK
41-
uses: actions/setup-java@v4
39+
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
4240
with:
4341
distribution: 'temurin'
4442
java-version: ${{ matrix.java_version }}
@@ -58,7 +56,7 @@ jobs:
5856
run: ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} surefire:test
5957
- name: Extract project Maven version
6058
id: projectVersion
61-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
59+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
6260
- name: Deploy snapshot
6361
if: ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
6462
env:

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@
5757
<properties>
5858
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5959

60-
<javac.src.version>1.8</javac.src.version>
61-
<javac.target.version>1.8</javac.target.version>
60+
<!-- as per [databind#4820], minimum of Java 17 for Jackson 3.0 -->
61+
<javac.src.version>17</javac.src.version>
62+
<javac.target.version>17</javac.target.version>
6263

6364
<version.kotlin>1.9.24</version.kotlin>
6465

release-notes/VERSION

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Project: jackson-module-kotlin
2+
Versions: 3.x (for earlier see VERSION-2.x)
3+
4+
Module that adds support for Kotlin-specific data types, constructs.
5+
6+
Active Maintainers:
7+
8+
* WrongWrong (@k163377) (since 2.15)
9+
10+
Co-maintainers:
11+
12+
* Tatu Saloranta (@cowtowncoder) -- at-large Jackson Author, helps from time to time
13+
14+
Former maintainers:
15+
16+
* Dmitry Spikhalskiy (@Spikhalskiy)
17+
* Drew Stephens (@dinomite)
18+
* Jayson Minard (@apatrida) -- original Module Author
19+
* Vyacheslav Artemyev (@viartemev)
20+
21+
------------------------------------------------------------------------
22+
=== Releases ===
23+
------------------------------------------------------------------------
24+
25+
3.0.0 (not yet released)
26+
27+
- Minimum Java baseline: Java 17

0 commit comments

Comments
 (0)