You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2022/08/10 13:54:41 UTC

[kafka] branch trunk updated: Remove duplicate common.message.* from clients:test jar file (#12407)

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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 22007fba7c7 Remove duplicate common.message.* from clients:test jar file (#12407)
22007fba7c7 is described below

commit 22007fba7c7346c5416f4db4e104434fdab265ee
Author: Peter Nied <pe...@hotmail.com>
AuthorDate: Wed Aug 10 08:54:31 2022 -0500

    Remove duplicate common.message.* from clients:test jar file (#12407)
    
    When consuming both `kafka-client:3.0.1` and `kafka-client:3.0.1:test`
    through maven a hygene tool was detecting multiple instances of the same
    class loaded into the classpath.
    
    Verified this change by building locally with a before and after build with
    `./gradlew clients:publishToMavenLocal`, then used beyond compare to
    verify the contents.
    
    Reviewers: Ismael Juma <is...@juma.me.uk>
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index afb5f166b27..f17011ca4d2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1349,7 +1349,7 @@ project(':clients') {
     }
     test {
       java {
-        srcDirs = ["src/generated/java", "src/generated-test/java", "src/test/java"]
+        srcDirs = ["src/generated-test/java", "src/test/java"]
       }
     }
   }