Waterfall/BungeeCord-Patches/0002-Copy-license-files-into-jar.patch
2022-06-07 18:44:58 +01:00

41 lines
1.1 KiB
Diff

From 9023de96647d320da12a0d65285f26e18ef4385b 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 a86eb68c..0202f4f0 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -117,4 +117,26 @@
<scope>runtime</scope>
</dependency>
</dependencies>
+
+ <!-- Waterfall start - copy license files into jar -->
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>../</directory>
+ <includes>
+ <include>LICENSE</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>../../</directory>
+ <includes>
+ <include>LICENSE.txt</include>
+ </includes>
+ </resource>
+ </resources>
+ </build>
+ <!-- Waterfall end -->
</project>
--
2.35.3