Update jackson databind to newer version

Merged
WI
4mo ago
+114-114

to close https://github.com/OpenAPITools/openapi-generator/pull/24305

PR checklist

  • Read the contribution guidelines.
  • Run the following to build the project and update samples:
    ./mvnw clean package || exit
    ./bin/generate-samples.sh ./bin/configs/*.yaml || exit
    ./bin/utils/export_docs_generators.sh || exit
    
    (For Windows users, please run the script in WSL)
    Commit all changed files.
    This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
    These must match the expectations made by your contribution.
    You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/java*.
    IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.

Summary by cubic

Upgrade Jackson across generators and samples from 2.17.1 to 2.18.9. This brings all Java/Kotlin templates and examples to a consistent Jackson 2.x baseline and updates JavaClientCodegen library descriptors.

  • Dependencies

    • Bumped com.fasterxml.jackson.core:jackson-databind, jackson-core, jackson-annotations, com.fasterxml.jackson.datatype:jackson-datatype-jsr310, and com.fasterxml.jackson.module:jackson-module-kotlin to 2.18.9 across Java/JAX-RS, Retrofit2, Resteasy, MicroProfile, Vert.x, Javalin, Kotlin WireMock, and Groovy templates and all samples; updated jackson.version, jackson.jaxrs.version, and jackson-jaxrs-version properties accordingly.
    • Updated JavaClientCodegen supportedLibraries text to reflect Jackson 2.18.9 for Jersey2, Feign/Feign HC5, Retrofit2, Spring WebClient/RestClient, Resteasy, Vert.x, Google API Client, Rest-assured, Native, MicroProfile, and Apache.
  • Migration

    • Regenerate clients/servers to pick up the new versions and align any pinned Jackson dependencies (including jackson-module-kotlin and jackson-datatype-jsr310) to 2.18.9 if you override them.
    • Projects using useJackson3=true are unchanged; this only updates the Jackson 2.x path.