papermc/Spigot-Server-Patches/0047-Fix-jar-being-shaded-multiple-times.patch
2015-06-04 01:42:09 -07:00

21 lines
748 B
Diff

From f8a08f5a78478854fa5b0d9eefa87cf6db3c8c08 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 6aeddce..60c1bd0 100644
--- 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>
--
1.9.5.msysgit.1