question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automatically add dependency for jackson-module-kotlin

See original GitHub issue

As pointed in the Kotlin documentation: https://quarkus.io/guides/kotlin#kotlin-and-jackson

The jackson-module-kotlin has to be manually added when there is the need to register the Kotlin module on Jackson, basically, when using kotlin + jackson.

Description When bootstrapping an application, when any Jackson specific extensions were added (as mentioned in the documentation above), with combination with quarkus-kotlin, then jackson-module-kotlin might also be automatically added as a dependency.

It may be simple for someone already in touch with Quarkus code to add this, I can try to do it myself otherwise, with some directions of any team member.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:17 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
maxandersencommented, Sep 9, 2020

this should not be limited to code.quarkus.io - this should behave consistently across our tool chain.

do we have examples on other similar implicitly needed dependencies (that users must add and we can’t add for them elsewhere) ?

wondering if we should add a metadata to extensions to act as hint what could be recommended to add.

0reactions
Sannecommented, Sep 10, 2020

Thanks for pinging me! Indeed the lack of automatcally controlling additional dependencies has been bothering me for a while, and I believe the time could be right. I’ll send a proposal to the list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FasterXML/jackson-module-kotlin - GitHub
Module that adds support for serialization/deserialization of Kotlin classes and data classes. Previously a default constructor must have existed on the Kotlin ......
Read more >
Automatically add dependency for jackson-module-kotlin
The jackson-module-kotlin has to be manually added when there is the need to register the Kotlin module on Jackson, basically, when using kotlin...
Read more >
Reading and Writing JSON in Kotlin with Jackson - Stack Abuse
To utilize Jackson, we'll want to add its jackson-module-kotlin dependency to our project. If you're using Maven, you can simply add:
Read more >
DanielThomas / jackson-module-kotlin Download - JitPack
Module that adds support for serialization/deserialization of Kotlin classes and data classes. Previously a default constructor must have existed on the ...
Read more >
Aligning dependency versions - Gradle User Manual
By doing this, whenever Gradle will add a dependency to a module of the platform on the graph, it will also include constraints...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found