papermc/Spigot-Server-Patches/0043-Fix-jar-being-shaded-multiple-times.patch

22 lines
738 B
Diff
Raw Normal View History

From 8388402abcbf1bad41fb130f28bbe81e727d72ae Mon Sep 17 00:00:00 2001
2015-05-19 00:06:10 +00:00
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Thu, 30 Apr 2015 22:42:34 -0400
Subject: [PATCH] Fix jar being shaded multiple times
diff --git a/pom.xml b/pom.xml
index 9678b08..4ec5bf6 100644
2015-05-19 00:06:10 +00:00
--- a/pom.xml
+++ b/pom.xml
@@ -138,6 +138,7 @@
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<configuration>
+ <forceCreation>true</forceCreation> <!-- Required to prevent shading the jar multiple times -->
<archive>
<manifestEntries>
<Main-Class>org.bukkit.craftbukkit.Main</Main-Class>
--
2.5.2
2015-05-19 00:06:10 +00:00