opt-nc / j7zip

Java 8 Command line tool to compress / decompress files using LZMA algortihm (like 7-Zip for .7z) with password protection
GNU General Public License v3.0
1 stars 0 forks source link

:warning: picocli-4.7.0.jar, xz-1.9.jar define 1 overlapping classes #31

Open adriens opened 1 year ago

adriens commented 1 year ago

mvn package leads to the following warning :

[INFO] Including org.tukaani:xz:jar:1.9 in the shaded jar.
[INFO] Including info.picocli:picocli:jar:4.7.0 in the shaded jar.
[WARNING] picocli-4.7.0.jar, xz-1.9.jar define 1 overlapping classes: 
[WARNING]   - META-INF.versions.9.module-info
[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 https://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /home/adriens/Github/j7zip/target/j7zip.jar with /home/adriens/Github/j7zip/target/j7zip-dev-shaded.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS