Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 77F9E200D56 for ; Tue, 12 Dec 2017 10:25:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 767BF160C0F; Tue, 12 Dec 2017 09:25:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B4696160BE7 for ; Tue, 12 Dec 2017 10:25:44 +0100 (CET) Received: (qmail 48920 invoked by uid 500); 12 Dec 2017 09:25:43 -0000 Mailing-List: contact commits-help@pulsar.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.incubator.apache.org Delivered-To: mailing list commits@pulsar.incubator.apache.org Received: (qmail 48911 invoked by uid 99); 12 Dec 2017 09:25:43 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2017 09:25:43 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] yush1ga opened a new pull request #960: Exclude tests jar path from classpath.txt Message-ID: <151307074324.31854.10334648825189211946.gitbox@gitbox.apache.org> archived-at: Tue, 12 Dec 2017 09:25:45 -0000 yush1ga opened a new pull request #960: Exclude tests jar path from classpath.txt URL: https://github.com/apache/incubator-pulsar/pull/960 ### Motivation Now, when running bin files, they output logs like following. ``` SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/Users/yushiga/.m2/repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/yushiga/.m2/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] ``` The cause of them is that `classpath.txt` contains jars for both test and runtime. ### Modifications - Added `includeScope` for `build-classpath`. ### Result The logs will not be output. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services