You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/08/06 19:37:00 UTC
[jira] [Created] (RATIS-1664) ratis-thirdparty-misc-1.0.1.jar should not include org.slf4j.*
Tsz-wo Sze created RATIS-1664:
---------------------------------
Summary: ratis-thirdparty-misc-1.0.1.jar should not include org.slf4j.*
Key: RATIS-1664
URL: https://issues.apache.org/jira/browse/RATIS-1664
Project: Ratis
Issue Type: Bug
Reporter: Tsz-wo Sze
{code}
$mvn package -DskipTests
...
[INFO] --- maven-shade-plugin:3.1.1:shade (default) @ ratis-examples ---
...
[INFO] Including log4j:log4j:jar:1.2.17 in the shaded jar.
[WARNING] slf4j-api-1.7.29.jar, ratis-thirdparty-misc-1.0.1.jar define 34 overlapping classes:
[WARNING] - org.slf4j.helpers.SubstituteLogger
[WARNING] - org.slf4j.helpers.NamedLoggerBase
[WARNING] - org.slf4j.helpers.NOPMDCAdapter
[WARNING] - org.slf4j.MarkerFactory
[WARNING] - org.slf4j.helpers.BasicMarker
[WARNING] - org.slf4j.spi.LoggerFactoryBinder
[WARNING] - org.slf4j.MDC$MDCCloseable
[WARNING] - org.slf4j.spi.LocationAwareLogger
[WARNING] - org.slf4j.helpers.MessageFormatter
[WARNING] - org.slf4j.helpers.Util$ClassContextSecurityManager
[WARNING] - 24 more...
[WARNING] maven-shade-plugin has detected that some class files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the class is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/{code}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)