Как совершить корректное импортирование библиотеки в Intellij IDEA
Илья Вовненко
Знаток
(266),
на голосовании
11 часов назад
Всем привет, я делаю свой плагин для майнкрафт сервера, но столкнулся с неожиданной проблемой при билдинге вылезает предупреждение: HumsterKombatPlugin-1.0-SNAPSHOT.jar, authlib-1.5.21.jar define 1 overlapping resource: - META-INF/MANIFEST.MF maven-shade-plugin has detected that some class files are present in two or more JARs. When this happens, only one single version of the class is copied to the uber jar. Usually this is not harmful and you can skip these warnings, otherwise try to manually exclude artifacts based on mvn dependency:tree -Ddetail=true and the above output. See http://maven.apache.org/plugins/maven-shade-plugin/
- META-INF/MANIFEST.MF
maven-shade-plugin has detected that some class files are
present in two or more JARs. When this happens, only one
single version of the class is copied to the uber jar.
Usually this is not harmful and you can skip these warnings,
otherwise try to manually exclude artifacts based on
mvn dependency:tree -Ddetail=true and the above output.
See http://maven.apache.org/plugins/maven-shade-plugin/
Также создался файл - dependency-reduced-pom.xml