How to use com.fasterxml.jackson 2.8.1 and 2.6.5 in the same module of maven project?

Viewed 1172

I have a module which has Spark 2.1.0 and Presto 0.166. Spark 2.1.0 requires com.faster.xml version 2.6.5 while Presto 0.166 requires 2.8.1 strictly. How Can I resolve the issue in the same pom.xml so that I can run them in the same module?

3 Answers
Related