Make com.fasterxml.jackson.core:jackson-core dependency optionalSee original GitHub issue
I’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?
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top GitHub Comments
@mbasmanova I googled around and maybe this is what you want. I have not tried this:
<dependency> <groupId>com.esri.geometry</groupId> <artifactId>esri-geometry-api</artifactId> <version>2.1.0</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency>
POM doc exclusions: http://maven.apache.org/pom.html#Exclusions