Wrong Jackson version getting picked up?
See original GitHub issueI had this working previously and now running into this issue locally and on CI (our own hosted Github runners). It looks like this project defines a newer version of Jackson (2.13.0) but our project is not loading that version. It looks like we are picking up Jackson 2.11.1
Android Studio Chipmunk (stable) AGP 7.2.0 Gradle 7.4.2
Generated report file build/dependencyUpdates/report.json
Generated report file build/dependencyUpdates/report.xml
Generated report file build/dependencyUpdates/report.txt
> Task :versionCatalogUpdate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':versionCatalogUpdate'.
> com.fasterxml.jackson.dataformat.toml.TomlMapper.coercionConfigDefaults()Lcom/fasterxml/jackson/databind/cfg/MutableCoercionConfig;
When I run with --stacktrace is points to https://github.com/littlerobots/version-catalog-update-plugin/blob/main/catalog/src/main/kotlin/nl/littlerobots/vcu/VersionCatalogParser.kt
Let me know what other information is needed.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Gradle reports incorrect jackson-bom dependency version #52
[timestamp] version directly in Gradle and it will work (user will get jackson-databind:2.13.2.1 ) because Gradle picks the higher version.
Read more >Different version of component (from what is defined in pom ...
1 contains jackson-core:2.9.9 while you are manually importing jackson-core:2.6.1 and therefore get version conflict. More generally, run mnv ...
Read more >Depending on the right versions of Jackson libraries
A lot of libraries depend on jackson-core, which means that it is easy to get another version of jackson-core in your dependency tree...
Read more >Alan Jackson - Small Town Southern Man (Official Music Video)
Watch the official music video for "Small Town Southern Man" by Alan JacksonListen to Alan Jackson : https://AlanJackson.lnk.to/listenYDWatch ...
Read more >Solving the XML Problem with Jackson - Stackify
For example, older versions of Jackson XML depended on Stax2Writer, which didn't support writing raw characters to the stream.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran into a similar issue myself today where
okio
is added to the build classpath by this plugin, breaking plugins that need a newer version. A workaround is to set the correct dependency on thebuildScript
block, but the real fix would probably be bundling / shading the dependencies using https://github.com/GradleUp/gr8I’m still trying to repro on small project, but adding
to
buildSrc/build.gradle.kts
works.In the meantime, here’s some of the stacktrace: