Waterfall/BungeeCord-Patches/0002-Copy-license-files-into-jar.patch

35 lines
1.0 KiB
Diff
Raw Normal View History

From 8fcf80f3a4a5fd0c9b8d096a996f8e90f803492a 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 9ac3c1af..1e1df054 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -105,6 +105,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.25.0