Make com.fasterxml.jackson.core:jackson-core dependency optional
See original GitHub issueI’m trying to upgrade to ESRI 2.1.0, but it requires 2.9.4 version of com.fasterxml.jackson.core:jackson-core
. My project - https://prestodb.io/ - currently uses jackson-core:2.8.1 and can’t upgrade to jackson-core:2.9.4 due to a regression https://github.com/FasterXML/jackson-databind/issues/1972 . Since I don’t use any GeoJSON features yet, I tried to exclude the dependency, but it is not optional.
Would it be possible to make this dependency optional?
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Using Optional with Jackson - Baeldung
First, let's take a look at what happens when we try to serialize and deserialize Optionals with Jackson. 2.1. Maven Dependency.
Read more >Java Optional with Jackson - Codekru
In this post, we will serialize/deserialize the java optional field using Jackson. We will understand problems related to it and will discuss solutions....
Read more >Using Jackson ObjectMapper with Java 8 Optional values
In order to do this: add com.fasterxml.jackson.datatype:jackson-datatype-jdk8 as a dependency; register the module with your object mapper: ...
Read more >ObjectMapperFactory (Common Library 1.13.1 API) - javadoc.io
Create a "standard" ObjectMapper instance. Dependencies: com.fasterxml.jackson.core:jackson-core; com.fasterxml.jackson.core:jackson-databind ...
Read more >com.datastax.oss : java-driver-core : 4.12.0 - Maven Central
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright DataStax, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this ...
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
@stolstov @randallwhitman Oh… sorry for confusion. I was adding the exclusion to dependencyManagement in the parent pom and that didn’t work. I then added it to all the child pom files and that seems to be working. Thanks for helping to sort this out!
@mbasmanova I googled around and maybe this is what you want. I have not tried this:
https://stackoverflow.com/questions/6542118/override-dependencies-of-third-party-jar-in-maven?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
POM doc exclusions: http://maven.apache.org/pom.html#Exclusions