Skip to content

⚠️ picocli-4.7.0.jar, xz-1.9.jar define 1 overlapping classes #31

Open
@adriens

Description

@adriens

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

Metadata

Metadata

Assignees

Labels

RUNToute activité liée au maintient en conditions opérationnelles, bugs,...enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions