Skip to content

Commit

Permalink
Fix #267: Java 8 as baseline for Jackson 3.0 (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder authored Dec 2, 2024
1 parent 4644a44 commit 1b50e83
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ on:
branches:
- master
- "3.0"
- "2.19"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
- "3.0"
- "2.19"
paths-ignore:
- "README.md"
- "release-notes/*"
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
</scm>

<properties>
<!-- 01-Dec-2024, tatu: [annotations#267] Retain Java 8 baseline
for annotations (up from Jackson 2.x Java 1.6 baselin)
-->
<javac.src.version>1.8</javac.src.version>
<javac.target.version>1.8</javac.target.version>

<osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>

<!-- 11-Jun-2020, tatu: Mismatch between jackson-bom, annotations versions
Expand Down Expand Up @@ -104,7 +110,7 @@ https://stackoverflow.com/questions/16302247/maven-property-project-artifact-sel
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.6</version>
<version>1.6.14</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
Expand Down
1 change: 1 addition & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ mostly)

3.0 (not yet released)

#267: Raise minimum Java version for `jackson-annotations` to Java 8 for Jackson 3.x
- Change `JsonInclude.value`, `JsonInclude.content` to `USE_DEFAULTS` (from `ALWAYS`)

0 comments on commit 1b50e83

Please sign in to comment.