Waterfall/BungeeCord-Patches/0002-Copy-license-files-into-jar.patch
2018-12-21 15:24:26 +00:00

35 lines
1.0 KiB
Diff

From 3692953ec62a6a392c46c1bea06cc8eea0b28644 Mon Sep 17 00:00:00 2001
From: Mark Vainomaa <mikroskeem@mikroskeem.eu>
Date: Wed, 18 Jul 2018 20:23:03 +0300
Subject: [PATCH] Copy license files into jar
diff --git a/proxy/pom.xml b/proxy/pom.xml
index 879a82d7..03e35f42 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -104,6 +104,20 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
+ <!-- Waterfall start - copy license files into jar -->
+ <resource>
+ <directory>../</directory>
+ <includes>
+ <include>LICENSE</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>../../</directory>
+ <includes>
+ <include>LICENSE.txt</include>
+ </includes>
+ </resource>
+ <!-- Waterfall end -->
</resources>
</build>
</project>
--
2.20.1