kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ewe...@apache.org
Subject [kafka] branch trunk updated: KAFKA-6997: Exclude test-sources.jar when $INCLUDE_TEST_JARS is FALSE
Date Tue, 05 Jun 2018 23:28:00 GMT
This is an automated email from the ASF dual-hosted git repository.

ewencp 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 e5492d7  KAFKA-6997: Exclude test-sources.jar when $INCLUDE_TEST_JARS is FALSE
e5492d7 is described below

commit e5492d77260afdffbe4d016081de30f74526f831
Author: Magesh Nandakumar <magesh.n.kumar@gmail.com>
AuthorDate: Tue Jun 5 16:27:22 2018 -0700

    KAFKA-6997: Exclude test-sources.jar when $INCLUDE_TEST_JARS is FALSE
    
    Exclude test-sources.jar when $INCLUDE_TEST_JARS is FALSE
    
    Author: Magesh Nandakumar <magesh.n.kumar@gmail.com>
    
    Reviewers: Konstantine Karantasis <konstantine@confluent.io>, Robert Yokota <rayokota@gmail.com>,
Arjun Satish <arjun@confluent.io>, Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava
<ewen@confluent.io>
    
    Closes #5139 from mageshn/KAFKA-6997
---
 bin/kafka-run-class.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/kafka-run-class.sh b/bin/kafka-run-class.sh
index 0ea8b83..354e106 100755
--- a/bin/kafka-run-class.sh
+++ b/bin/kafka-run-class.sh
@@ -32,7 +32,7 @@ if [ -z "$INCLUDE_TEST_JARS" ]; then
 fi
 
 # Exclude jars not necessary for running commands.
-regex="(-(test|src|scaladoc|javadoc)\.jar|jar.asc)$"
+regex="(-(test|test-sources|src|scaladoc|javadoc)\.jar|jar.asc)$"
 should_include_file() {
   if [ "$INCLUDE_TEST_JARS" = true ]; then
     return 0

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

Mime
View raw message