javaparser-maven-sample icon indicating copy to clipboard operation
javaparser-maven-sample copied to clipboard

Warning during build

Open matozoid opened this issue 5 years ago • 0 comments

[INFO] Including com.github.javaparser:javaparser-core:jar:3.15.21 in the shaded jar.
[WARNING] javaparser-core-3.15.21.jar, javaparser-maven-sample-1.0-SNAPSHOT.jar define 1 overlapping resources: 
[WARNING]   - META-INF/MANIFEST.MF
[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/
[INFO] Attaching shaded artifact.

This is probably because of an upgraded dependency? Be sure to manually test these projects after upgrading, because they have no tests.

matozoid avatar Jun 05 '20 16:06 matozoid