Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adriens opened this issue Dec 25, 2022 · 0 comments
Open

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

adriens opened this issue Dec 25, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request RUN Toute activité liée au maintient en conditions opérationnelles, bugs,...

Comments

@adriens
Copy link
Member

adriens commented Dec 25, 2022

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
@adriens adriens added RUN Toute activité liée au maintient en conditions opérationnelles, bugs,... enhancement New feature or request labels Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request RUN Toute activité liée au maintient en conditions opérationnelles, bugs,...
Projects
None yet
Development

No branches or pull requests

2 participants