pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] yush1ga opened a new pull request #960: Exclude tests jar path from classpath.txt
Date Thu, 01 Jan 1970 00:00:00 GMT
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

Mime
View raw message