Skip to content

Commit

Permalink
Fix #95 (Java baseline to Java 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 3, 2022
1 parent 7d7c0d3 commit e22a96c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
17 changes: 3 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,9 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- 04-May-2016, tatu: This should still work with 2.8, as jackson-core
only requires Java 6 (unlike databind and other modules)
-->
<javac.src.version>1.6</javac.src.version>
<javac.target.version>1.6</javac.target.version>

<!-- 04-May-2016, tatu: Bundle-plugin 3.x seems to require Java 7, so to
build for Java 6 need to downgrade here to last working 2.x version
(2.5.4 had some issues wrt shading)
-->
<!-- 30-Jul-2020, tatu: But 4.2.0 seems to have worked for `jackson-annotations`
for a while now (since 2.10.x) so remove version lock
<version.plugin.bundle>4.2.1</version.plugin.bundle>
<!-- 03-May-2022: Change Java compatibility for Jackson-Core 2.14 from Java6 to Java8,
still use Moditect to get JDK9+ module info support; need newer bundle plugin as well
(can just defaults from `jackson-parent`)
-->

<!-- Aggressively minimize jar size; drop 'lines' and 'vars' -->
Expand All @@ -68,7 +58,6 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
<executions>
<execution>
<goals>
Expand Down
3 changes: 2 additions & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Modules:
2.14.0 (not yet released)

#91: Annotation support should allow `@JsonValue`/`JsonCreator` on `enum`
(contributed by
(contributed by Ashley F)
#95: Increase minimum Java baseline from 6 to 8 for version 2.14

2.13.2 (06-Mar-2022)
2.13.1 (19-Dec-2021)
Expand Down

0 comments on commit e22a96c

Please sign in to comment.