You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ew...@apache.org on 2018/06/13 05:15:57 UTC

[kafka] branch 2.0 updated: KAFKA-7031: Connect API shouldn't depend on Jersey (KIP-285)

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

ewencp pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.0 by this push:
     new 51ac53d  KAFKA-7031: Connect API shouldn't depend on Jersey (KIP-285)
51ac53d is described below

commit 51ac53d9037e703507c4b6bdf7658a8793c3c7ec
Author: Magesh Nandakumar <ma...@gmail.com>
AuthorDate: Tue Jun 12 22:15:18 2018 -0700

    KAFKA-7031: Connect API shouldn't depend on Jersey (KIP-285)
    
    Connect API currently depends on Jersey API as a side-effect of KIP-285. It should only depend on the JAX RS API.
    
    Author: Magesh Nandakumar <ma...@gmail.com>
    
    Reviewers: Randall Hauch <rh...@gmail.com>, Ewen Cheslack-Postava <ew...@confluent.io>
    
    Closes #5190 from mageshn/KAFKA-7031
---
 build.gradle               | 3 ++-
 gradle/dependencies.gradle | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 5bd3892..f3cf04d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1221,7 +1221,7 @@ project(':connect:api') {
   dependencies {
     compile project(':clients')
     compile libs.slf4jApi
-    compile libs.jerseyContainerServlet
+    compile libs.jaxrsApi
 
     testCompile libs.junit
 
@@ -1461,6 +1461,7 @@ project(':connect:basic-auth-extension') {
     testCompile project(':clients').sourceSets.test.output
 
     testRuntime libs.slf4jlog4j
+    testRuntime libs.jerseyContainerServlet
   }
 
   javadoc {
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index ce2db72..c9f6f03 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -60,6 +60,7 @@ versions += [
   log4j: "1.2.17",
   scalaLogging: "3.9.0",
   jaxb: "2.3.0",
+  jaxrs: "2.1",
   jfreechart: "1.0.0",
   jopt: "5.0.4",
   junit: "4.12",
@@ -101,6 +102,7 @@ libs += [
   jacksonDatabind: "com.fasterxml.jackson.core:jackson-databind:$versions.jackson",
   jacksonJaxrsJsonProvider: "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$versions.jackson",
   jaxbApi: "javax.xml.bind:jaxb-api:$versions.jaxb",
+  jaxrsApi: "javax.ws.rs:javax.ws.rs-api:$versions.jaxrs",
   jettyServer: "org.eclipse.jetty:jetty-server:$versions.jetty",
   jettyClient: "org.eclipse.jetty:jetty-client:$versions.jetty",
   jettyServlet: "org.eclipse.jetty:jetty-servlet:$versions.jetty",

-- 
To stop receiving notification emails like this one, please contact
ewencp@apache.org.