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

35 lines
1.0 KiB
Diff
Raw Normal View History

From 1eafcaf9e03e0a2280b2f86b51e1eb00b08d4c5e 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 d1700424..f5610a53 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -124,6 +124,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.31.0