testserver/Spigot-Server-Patches/0042-Fix-jar-being-shaded-m...

22 lines
738 B
Diff
Raw Normal View History

2016-02-15 14:22:37 +00:00
From d50dae836a3d3f52e9c5be6089246adadbb71628 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
2016-02-15 14:22:37 +00:00
index 19e47f4..68073c0 100644
2015-05-19 00:06:10 +00:00
--- a/pom.xml
+++ b/pom.xml
2016-02-15 14:22:37 +00:00
@@ -130,6 +130,7 @@
2015-05-19 00:06:10 +00:00
<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.1
2015-05-19 00:06:10 +00:00