You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rd...@apache.org on 2018/07/14 00:50:54 UTC

[incubator-pulsar] branch master updated: fix: conflicting jackson transitive dependency for worker (#2159)

This is an automated email from the ASF dual-hosted git repository.

rdhabalia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new e54c58a  fix: conflicting jackson transitive dependency for worker (#2159)
e54c58a is described below

commit e54c58a3b143fc2a0b428230c8593662dcf92891
Author: Rajan Dhabalia <rd...@apache.org>
AuthorDate: Fri Jul 13 17:50:51 2018 -0700

    fix: conflicting jackson transitive dependency for worker (#2159)
---
 pulsar-functions/worker/pom.xml | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/pulsar-functions/worker/pom.xml b/pulsar-functions/worker/pom.xml
index be8e704..9b10cbe 100644
--- a/pulsar-functions/worker/pom.xml
+++ b/pulsar-functions/worker/pom.xml
@@ -101,12 +101,21 @@
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
     </dependency>
-    
-     <dependency>
+     
+    <dependency>
       <groupId>io.swagger</groupId>
       <artifactId>swagger-core</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>com.fasterxml.jackson.core</groupId>
+          <artifactId>*</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.fasterxml.jackson.dataformat</groupId>
+          <artifactId>*</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
-    
 
   </dependencies>