Fix jar being shaded multiple times

This commit is contained in:
Jedediah Smith 2015-05-18 19:06:10 -05:00 committed by Zach Brown
parent 41cc0debed
commit 06c96d094f
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From 261effe026dc2242c527ed41c0c8316c3ddecf5a 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 b3982e1..aaaf1a5 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>
--
2.4.1.windows.1