mirror of
https://github.com/PaperMC/Waterfall.git
synced 2025-01-01 05:27:47 +01:00
3d4d154926
Solves issue #201 with including the BungeeCord LICENSE file in binary distribution, as the license requires.
35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From 7722688cbcf4e88c94f858e0e98975d6188637f6 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 00eb9c5c..841f014e 100644
|
|
--- a/proxy/pom.xml
|
|
+++ b/proxy/pom.xml
|
|
@@ -98,6 +98,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.18.0
|
|
|