From 4c053ffd43884f0b7499616ba0102064babdd5e8 Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Tue, 27 Oct 2020 11:36:24 +0800 Subject: [PATCH] ! fix overlapping resource warning of maven-shade-plugin:shade [WARNING] javassist-3.23.2-GA.jar, transmittable-thread-local-2.12.0-SNAPSHOT.jar define 1 overlapping resource: [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/ --- pom.xml | 8 ++++++++ pom4ide.xml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/pom.xml b/pom.xml index 6ce6275f..8be7fdf4 100644 --- a/pom.xml +++ b/pom.xml @@ -296,6 +296,14 @@ org.javassist:javassist + + + org.javassist:javassist + + META-INF/MANIFEST.MF + + + true diff --git a/pom4ide.xml b/pom4ide.xml index b58752ce..82d940b7 100644 --- a/pom4ide.xml +++ b/pom4ide.xml @@ -296,6 +296,14 @@ org.javassist:javassist + + + org.javassist:javassist + + META-INF/MANIFEST.MF + + + true -- GitLab