diff --git a/Spigot-Server-Patches/0001-POM-Changes.patch b/Spigot-Server-Patches/0001-POM-Changes.patch index 4e732ee3f..656f4c3a0 100644 --- a/Spigot-Server-Patches/0001-POM-Changes.patch +++ b/Spigot-Server-Patches/0001-POM-Changes.patch @@ -5,7 +5,7 @@ Subject: [PATCH] POM Changes diff --git a/pom.xml b/pom.xml -index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c78e2fceb 100644 +index ebce3da9abf550089ead322bc2cef359c803a434..ab48b2102727d741ab3f0c8daa658593e1305a3b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,15 +1,14 @@ @@ -28,7 +28,7 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c UTF-8 unknown git -@@ -20,21 +19,27 @@ +@@ -20,21 +19,39 @@ @@ -40,6 +40,18 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c ../pom.xml ++ ++ ++ ++ org.apache.logging.log4j ++ log4j-bom ++ 2.11.2 ++ pom ++ import ++ ++ ++ ++ - org.spigotmc @@ -61,7 +73,31 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c minecraft-server ${minecraft.version}-SNAPSHOT compile -@@ -64,6 +69,17 @@ +@@ -45,18 +62,15 @@ + 2.12.1 + compile + ++ ++ org.apache.logging.log4j ++ log4j-api ++ compile ++ + + org.apache.logging.log4j + log4j-iostreams +- 2.8.1 + compile +- +- +- +- org.apache.logging.log4j +- log4j-api +- +- + + + org.ow2.asm +@@ -64,6 +78,17 @@ 9.1 compile @@ -79,7 +115,7 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c com.googlecode.json-simple -@@ -100,34 +116,22 @@ +@@ -100,34 +125,22 @@ @@ -106,7 +142,8 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c - spigot.desc - - initialize -- ++ compile + - describe - - @@ -118,14 +155,13 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c - craftbukkit.desc - - initialize -+ compile - +- - describe + gitdescribe -@@ -137,6 +141,7 @@ +@@ -137,6 +150,7 @@ maven-jar-plugin 3.2.0 @@ -133,7 +169,7 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c false -@@ -144,8 +149,9 @@ +@@ -144,11 +158,13 @@ org.bukkit.craftbukkit.Main CraftBukkit @@ -145,7 +181,11 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c Bukkit ${api.version} Bukkit Team -@@ -184,14 +190,23 @@ ++ true + + + +@@ -184,14 +200,24 @@ shade @@ -162,15 +202,16 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c + + io/netty/** + META-INF/native/libnetty* -+ com/brigadier/** ++ com/mojang/brigadier/** + META-INF/MANIFEST.MF -+ com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository -+ com.mojang.datafixers.util.Either -+ org.apache.logging.log4j/** ++ com/mojang/authlib/yggdrasil/YggdrasilGameProfileRepository.class ++ com/mojang/datafixers/util/Either* ++ org/apache/logging/log4j/** ++ META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat -@@ -207,10 +222,11 @@ +@@ -207,10 +233,11 @@ jline org.bukkit.craftbukkit.libs.jline @@ -186,7 +227,7 @@ index ebce3da9abf550089ead322bc2cef359c803a434..ce140ae236f97c1a1028e46e562e2c5c org.apache.commons.codec org.bukkit.craftbukkit.libs.org.apache.commons.codec -@@ -258,10 +274,6 @@ +@@ -258,10 +285,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.8.1 diff --git a/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch b/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch index 13d5847e4..d50f07ad1 100644 --- a/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch +++ b/Spigot-Server-Patches/0146-Use-TerminalConsoleAppender-for-console-improvements.patch @@ -19,10 +19,10 @@ Other changes: configuration diff --git a/pom.xml b/pom.xml -index 2559c83c1b811177ade56537aeab1982ac53ee67..26e59ca76d856cc37222963fd14cb6eaa410c749 100644 +index ab48b2102727d741ab3f0c8daa658593e1305a3b..38e78762528182bbe676ce3ad5a437680b5b7307 100644 --- a/pom.xml +++ b/pom.xml -@@ -45,10 +45,27 @@ +@@ -57,10 +57,26 @@ compile @@ -49,12 +49,11 @@ index 2559c83c1b811177ade56537aeab1982ac53ee67..26e59ca76d856cc37222963fd14cb6ea + + org.apache.logging.log4j + log4j-core -+ 2.8.1 + runtime org.apache.logging.log4j -@@ -265,10 +282,18 @@ +@@ -276,10 +292,18 @@ META-INF/services/java.sql.Driver @@ -293,7 +292,7 @@ index 1f0021c5374e1af9c9cd29d44e6b0bd9522394d9..5d357b0f84b5242066dcce203752a0f4 @Override public PluginCommand getPluginCommand(String name) { diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java -index 78b6d00ea40e8d7c450e08e444c5231e7c99969b..78fad8d06540a0cf41302f12bf25e08e49f589d9 100644 +index 0c069673437d97aff29b3a30caa22fcf62d0d7db..fb49dd66e40e8376e9d6141b97350e16b5d0215e 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -12,7 +12,7 @@ import java.util.logging.Level; diff --git a/Spigot-Server-Patches/0167-Handle-plugin-prefixes-using-Log4J-configuration.patch b/Spigot-Server-Patches/0167-Handle-plugin-prefixes-using-Log4J-configuration.patch index 06e8980f4..2ec0ae4c2 100644 --- a/Spigot-Server-Patches/0167-Handle-plugin-prefixes-using-Log4J-configuration.patch +++ b/Spigot-Server-Patches/0167-Handle-plugin-prefixes-using-Log4J-configuration.patch @@ -15,20 +15,20 @@ This may cause additional prefixes to be disabled for plugins bypassing the plugin logger. diff --git a/pom.xml b/pom.xml -index 0a6e1782c0eb8aa3aff94c5bfae5c5ea4a24ba56..14d365756efbe2067c049659eb9076ab1e3415ef 100644 +index 38e78762528182bbe676ce3ad5a437680b5b7307..6f96ce455f047073c124d13c54e3a77455ddd980 100644 --- a/pom.xml +++ b/pom.xml -@@ -65,7 +65,7 @@ +@@ -76,7 +76,7 @@ + org.apache.logging.log4j log4j-core - 2.8.1 - runtime + compile org.apache.logging.log4j diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java -index 23c1ba33903f8913a33332d06b2fd1aa3c90f1a1..bf00d6d263b692e8a597694c689768f177835fde 100644 +index 3c93a497a790b8d800852db2ac48feca41f45cef..e8e5e5b568ba53dd006f1461cb4f027ceeae5528 100644 --- a/src/main/java/org/spigotmc/SpigotConfig.java +++ b/src/main/java/org/spigotmc/SpigotConfig.java @@ -290,7 +290,7 @@ public class SpigotConfig diff --git a/Spigot-Server-Patches/0168-Include-Log4J2-SLF4J-implementation.patch b/Spigot-Server-Patches/0168-Include-Log4J2-SLF4J-implementation.patch index 9500e5791..74088bbe6 100644 --- a/Spigot-Server-Patches/0168-Include-Log4J2-SLF4J-implementation.patch +++ b/Spigot-Server-Patches/0168-Include-Log4J2-SLF4J-implementation.patch @@ -5,17 +5,16 @@ Subject: [PATCH] Include Log4J2 SLF4J implementation diff --git a/pom.xml b/pom.xml -index 14d365756efbe2067c049659eb9076ab1e3415ef..a58e4aa63164aa6ae4e7ecf87ea9c46c73fcb8f4 100644 +index 6f96ce455f047073c124d13c54e3a77455ddd980..bb15d94f1aadf04439f0b9484f91a81440194c43 100644 --- a/pom.xml +++ b/pom.xml -@@ -67,6 +67,12 @@ - 2.8.1 +@@ -83,6 +83,11 @@ + log4j-api compile + + org.apache.logging.log4j + log4j-slf4j-impl -+ 2.8.1 + runtime + diff --git a/Spigot-Server-Patches/0240-Use-asynchronous-Log4j-2-loggers.patch b/Spigot-Server-Patches/0240-Use-asynchronous-Log4j-2-loggers.patch index 8a0041511..e13d56e37 100644 --- a/Spigot-Server-Patches/0240-Use-asynchronous-Log4j-2-loggers.patch +++ b/Spigot-Server-Patches/0240-Use-asynchronous-Log4j-2-loggers.patch @@ -5,12 +5,12 @@ Subject: [PATCH] Use asynchronous Log4j 2 loggers diff --git a/pom.xml b/pom.xml -index a58e4aa63164aa6ae4e7ecf87ea9c46c73fcb8f4..ba6e70eb472bda9d0cf51c3b69a5bd41fc24c399 100644 +index bb15d94f1aadf04439f0b9484f91a81440194c43..526a261e93f8be8d2f045d1b8822002b55c11fb9 100644 --- a/pom.xml +++ b/pom.xml -@@ -86,6 +86,13 @@ - - +@@ -93,6 +93,13 @@ + log4j-iostreams + compile + + diff --git a/Spigot-Server-Patches/0466-Implement-Mob-Goal-API.patch b/Spigot-Server-Patches/0466-Implement-Mob-Goal-API.patch index b613dc0fb..c3df8c92e 100644 --- a/Spigot-Server-Patches/0466-Implement-Mob-Goal-API.patch +++ b/Spigot-Server-Patches/0466-Implement-Mob-Goal-API.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Implement Mob Goal API diff --git a/pom.xml b/pom.xml -index 14e66414d043ce720b8fd7bfa2c476d8369c757b..25ec9c4f8c08551fd80a597a1b39854e70e4f895 100644 +index 526a261e93f8be8d2f045d1b8822002b55c11fb9..eed1dccb481a300b9f4679af157ce512c70cf34a 100644 --- a/pom.xml +++ b/pom.xml -@@ -142,6 +142,13 @@ +@@ -149,6 +149,13 @@ 1.3 test