aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0042-Fix-jar-being-shaded-multiple-times.patch
blob: 5a5813084225e84afd5fb61848ea8d6732ec1a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 6f0ca74e6526a72310e6c0f06b4e2a3e21a375f9 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 32593a7fa..609000dfd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,6 +136,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.34.0