Skip to content

Commit 6f19741

Browse files
authored
update jackson-threeten to 2.18.2 (#20530)
* update jackson-threeten to 2.18.2 * update threeten versions in test templates * update to jackson 2.18.2 * bump jacoco to improve compat with newer java versions
1 parent 61262e9 commit 6f19741

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.gradle.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,16 @@ if(hasProperty('target') && target == 'android') {
109109

110110
ext {
111111
swagger_annotations_version = "1.5.22"
112-
jackson_version = "2.17.1"
113-
jackson_databind_version = "2.17.1"
112+
jackson_version = "2.18.2"
113+
jackson_databind_version = "2.18.2"
114114
{{#openApiNullable}}
115-
jackson_databind_nullable_version = "0.2.1"
115+
jackson_databind_nullable_version = "0.2.6"
116116
{{/openApiNullable}}
117117
jakarta_annotation_version = "1.3.5"
118118
jersey_version = "2.27"
119119
junit_version = "4.13.2"
120120
{{#threetenbp}}
121-
threetenbp_version = "2.9.10"
121+
threetenbp_version = "2.18.2"
122122
{{/threetenbp}}
123123
{{#hasOAuthMethods}}
124124
scribejava_apis_version = "6.9.0"

modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ lazy val root = (project in file(".")).
1515
"org.glassfish.jersey.media" % "jersey-media-multipart" % "2.27",
1616
"org.glassfish.jersey.media" % "jersey-media-json-jackson" % "2.27",
1717
"org.glassfish.jersey.connectors" % "jersey-apache-connector" % "2.27",
18-
"com.fasterxml.jackson.core" % "jackson-core" % "2.10.5" % "compile",
19-
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.10.5.1" % "compile",
20-
"com.fasterxml.jackson.core" % "jackson-databind" % "2.10.5.1" % "compile",
18+
"com.fasterxml.jackson.core" % "jackson-core" % "2.18.2" % "compile",
19+
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.18.2" % "compile",
20+
"com.fasterxml.jackson.core" % "jackson-databind" % "2.18.2" % "compile",
2121
{{#joda}}
22-
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.9.10" % "compile",
22+
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.18.2" % "compile",
2323
{{/joda}}
2424
{{#java8}}
25-
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.9.10" % "compile",
25+
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.18.2" % "compile",
2626
{{/java8}}
2727
{{#threetenbp}}
28-
"com.github.joschi.jackson" % "jackson-datatype-threetenbp" % "2.9.10" % "compile",
28+
"com.github.joschi.jackson" % "jackson-datatype-threetenbp" % "2.18.2" % "compile",
2929
{{/threetenbp}}
3030
{{#hasOAuthMethods}}
3131
"com.github.scribejava" % "scribejava-apis" % "6.9.0" % "compile",

modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/pom.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,11 @@
373373
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
374374
<swagger-annotations-version>1.6.1</swagger-annotations-version>
375375
<jersey-version>2.30.1</jersey-version>
376-
<jackson-version>2.17.1</jackson-version>
377-
<jackson-databind-version>2.17.1</jackson-databind-version>
378-
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>
376+
<jackson-version>2.18.2</jackson-version>
377+
<jackson-databind-version>2.18.2</jackson-databind-version>
378+
<jackson-databind-nullable-version>0.2.6</jackson-databind-nullable-version>
379379
{{#threetenbp}}
380-
<threetenbp-version>2.9.10</threetenbp-version>
380+
<threetenbp-version>2.18.2</threetenbp-version>
381381
{{/threetenbp}}
382382
{{#useJakartaEe}}
383383
<jakarta-annotation-version>2.1.1</jakarta-annotation-version>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,9 +1224,9 @@
12241224
<groovy.version>3.0.9</groovy.version>
12251225
<guava.version>32.1.3-jre</guava.version>
12261226
<handlebars-java.version>4.3.1</handlebars-java.version>
1227-
<jackson-threetenbp.version>2.15.2</jackson-threetenbp.version>
1228-
<jackson.version>2.17.1</jackson.version>
1229-
<jacoco.version>0.8.10</jacoco.version>
1227+
<jackson-threetenbp.version>2.18.2</jackson-threetenbp.version>
1228+
<jackson.version>2.18.2</jackson.version>
1229+
<jacoco.version>0.8.12</jacoco.version>
12301230
<jmustache.version>1.15</jmustache.version>
12311231
<junit.version>5.10.2</junit.version>
12321232
<kotlin.version>1.6.21</kotlin.version>

0 commit comments

Comments
 (0)