$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: