Skip to content

Commit

Permalink
Exclude jackson versions coming from jackson-datatype-threetenbp repo…
Browse files Browse the repository at this point in the history
…sitory

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 OpenAPITools#18753
  • Loading branch information
vzorge authored Oct 14, 2024
1 parent 2354d40 commit d50678d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/openapi-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,16 @@
<groupId>com.github.joschi.jackson</groupId>
<artifactId>jackson-datatype-threetenbp</artifactId>
<version>${jackson-threetenbp.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
Expand Down

0 comments on commit d50678d

Please sign in to comment.