PaperSpigot-Parent/Spigot-Server-Patches/0042-Fix-jar-being-shaded-multiple-times.patch
2016-01-29 02:51:53 -06:00

22 lines
738 B
Diff

From cdb68182791c146d28e7a9f18651f907ef7343d3 Mon Sep 17 00:00:00 2001
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 cdbb1ca..b4ead1d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -139,6 +139,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.7.0