From d50678d2ab1460337eefe026d640c81395951ebd Mon Sep 17 00:00:00 2001 From: Vincent Zorge Date: Mon, 14 Oct 2024 15:38:20 +0200 Subject: [PATCH] Exclude jackson versions coming from jackson-datatype-threetenbp repository The versions that are coming from the jackson-datatype-threetenbp are outdated and cause an issue when generating. There are interopability issues between jackson 2.15.2 and 2.16.0 and above. The dependency on jackson-threetenbp is causing jacskon 2.15.2 to be needed when generating code. This dependency has not been updated in over a year. Untill it does, it should be excluded from delivering its outdated versions to the classpath. Fixes https://github.com/OpenAPITools/openapi-generator/issues/18753 --- modules/openapi-generator/pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/openapi-generator/pom.xml b/modules/openapi-generator/pom.xml index 7a9ed141f6f7..02b434b81ca6 100644 --- a/modules/openapi-generator/pom.xml +++ b/modules/openapi-generator/pom.xml @@ -402,6 +402,16 @@ com.github.joschi.jackson jackson-datatype-threetenbp ${jackson-threetenbp.version} + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-core + + org.openapitools