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/05 23:28:00 UTC

[kafka] branch trunk updated: KAFKA-6997: Exclude test-sources.jar when $INCLUDE_TEST_JARS is FALSE

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 <ma...@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 <ma...@gmail.com>
    
    Reviewers: Konstantine Karantasis <ko...@confluent.io>, Robert Yokota <ra...@gmail.com>, Arjun Satish <ar...@confluent.io>, Randall Hauch <rh...@gmail.com>, Ewen Cheslack-Postava <ew...@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.