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

41 lines
1.1 KiB
Diff
Raw Normal View History

From b526187ee2b182930850ced2708a2770b669c949 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 cf0a6a99..1d370c70 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -124,4 +124,26 @@
2022-06-07 19:12:20 +02:00
<scope>runtime</scope>
</dependency>
</dependencies>
+
+ <!-- Waterfall start - copy license files into jar -->
+ <build>
+ <resources>
+ <resource>
2022-06-07 19:44:58 +02:00
+ <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>
2022-06-07 19:12:20 +02:00
+ </resources>
+ </build>
+ <!-- Waterfall end -->
</project>
--
2.37.1