playframework / play-ebean

Play Ebean module
Apache License 2.0
103 stars 69 forks source link

Ebean 15.0.1 #451

Closed mkurz closed 4 months ago

mkurz commented 4 months ago
mkurz commented 4 months ago

As expected

[error] Test play.db.ebean.EBeanComponentsTest.createComponents failed: com.fasterxml.jackson.databind.JsonMappingException: Scala module 2.14.3 requires Jackson Databind version >= 2.14.0 and < 2.15.0 - Found jackson-databind version 2.15.0, took 1.154 sec

That's because ebean bumped jackson to 2.15: https://github.com/ebean-orm/ebean/commit/baf727e8ea0bec6b3f45fa8b1825fe8a5887422b

The easiest thing we can do is to exclude the jackson dependencies pulled in from ebean-jackson-mapper and to use the jackson artifacts Play comes with. Also if you look at the above diff they only bumped the version and no changes were necessary, so I am pretty sure just staying on jackson 2.14 (Play is using) should not do any harm. (I did check dependencyTree locally)

mkurz commented 4 months ago

@Mergifyio backport 7.x

mkurz commented 4 months ago

@Mergifyio backport 7.x

mergify[bot] commented 4 months ago

backport 7.x

✅ Backports have been created

* [#453 [7.x] Ebean 15.0.1 (backport #451) by @mkurz](https://github.com/playframework/play-ebean/pull/453) has been created for branch `7.x` but encountered conflicts