Skip to content

Commit f017f36

Browse files
JooHyukKimcowtowncoder
authored andcommitted
Update baseline to JDK 17
1 parent f87894a commit f017f36

File tree

4 files changed

+26
-7
lines changed

4 files changed

+26
-7
lines changed

.github/workflows/dep_build_v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
java_version: ['8', '17', '21']
18+
java_version: ['17', '21']
1919
env:
2020
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2121
steps:

.github/workflows/main.yml

Lines changed: 4 additions & 6 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/*"
@@ -22,7 +20,7 @@ jobs:
2220
strategy:
2321
fail-fast: false
2422
matrix:
25-
java_version: ['8', '11', '17']
23+
java_version: ['17', '21']
2624
env:
2725
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2826
steps:
@@ -45,17 +43,17 @@ jobs:
4543
id: projectVersion
4644
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4745
- name: Deploy snapshot
48-
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
46+
if: ${{ github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4947
env:
5048
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME3 }}
5149
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD3 }}
5250
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5351
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
5452
- name: Generate code coverage
55-
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
53+
if: ${{ matrix.release_build && github.event_name != 'pull_request' }}
5654
run: ./mvnw -B -q -ff -ntp test
5755
- name: Publish code coverage
58-
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
56+
if: ${{ matrix.release_build && github.event_name != 'pull_request' }}
5957
uses: codecov/codecov-action@v1
6058
with:
6159
token: ${{ secrets.CODECOV_TOKEN }}

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
<properties>
3333
<!-- for Reproducible Builds -->
3434
<project.build.outputTimestamp>2022-11-28T00:00:00Z</project.build.outputTimestamp>
35+
36+
<!-- [databind#4820]: Java 17 baseline -->
37+
<javac.src.version>17</javac.src.version>
38+
<javac.target.version>17</javac.target.version>
39+
3540
</properties>
3641

3742
<dependencies>

release-notes/VERSION

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Project: jackson-datatypes-misc
2+
Major version: 3 (for earlier, see VERSION-2.x)
3+
Modules:
4+
jackson-datatype-joda-money
5+
jackson-datatype-json-org
6+
jackson-datatype-jsr353
7+
jackson-datatype-jakarta-jsonp (2.13 alt to -jsr353)
8+
jackson-datatype-jakarta-mail (2.13)
9+
10+
------------------------------------------------------------------------
11+
=== Releases ===
12+
------------------------------------------------------------------------
13+
14+
3.0.0 (not yet released)
15+
16+
- Minimum Java baseline: Java 17

0 commit comments

Comments
 (0)