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

38 lines
1006 B
Diff
Raw Normal View History

2022-06-07 19:12:20 +02:00
From 642384e902e7533cb16d113de3ae970be011532f 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
2022-06-07 19:12:20 +02:00
index a86eb68c..82366109 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
2022-06-07 19:12:20 +02:00
@@ -117,4 +117,23 @@
<scope>runtime</scope>
</dependency>
</dependencies>
+
+ <!-- Waterfall start - copy license files into jar -->
+ <build>
+ <resources>
+ <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>
--
2022-06-07 19:12:20 +02:00
2.35.3