Hey everyone!
I’m currently really struggling updating our open source library sda-dropwizard-commons to the latest version of Jackson.
Somehow I have the feeling that my knowledge about using “enforcedPlatform” is not enough to do the job. In theory the update should be easy because Jackson provides a platform (jackson-bom) that we could use and enforce in our platform module (sda-commons-dependencies). In practice I can see that versions of the modules listed in the jackson-bom are not properly enforced. There are still modules that use a version pulled in by a transitive dependency and don’t prefer the version that I defined in our platform. In addition the “failOnVersionConflict” resolution strategy does not fail although I can clearly see that different versions were used.
Since enforcing versions from our platform does not work as I’d like it, we’ve ended up excluding/including dependencies to get the proper version. It really feels strange to do it.
Can you help me out: Is it me? What did I misunderstand about enforcing versions with a platform? Or am I hitting a bug in one of the plugins?
At the moment I feel like I’m in dependency hell.
Thanks for any feedback!
Christopher