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/11 17:58:00 UTC

[jira] [Updated] (RATIS-1664) Exclude org.slf4j.* in ratis-thirdparty-misc

     [ https://issues.apache.org/jira/browse/RATIS-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz-wo Sze updated RATIS-1664:
------------------------------
    Summary: Exclude org.slf4j.* in ratis-thirdparty-misc  (was: ratis-thirdparty-misc jar should not include org.slf4j.*)

> Exclude org.slf4j.* in ratis-thirdparty-misc
> --------------------------------------------
>
>                 Key: RATIS-1664
>                 URL: https://issues.apache.org/jira/browse/RATIS-1664
>             Project: Ratis
>          Issue Type: Bug
>          Components: thirdparty
>            Reporter: Tsz-wo Sze
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {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)