From 8c74d31264378a1bf6e475f29333923257778e31 Mon Sep 17 00:00:00 2001 From: Josh Roy <10731363+JRoy@users.noreply.github.com> Date: Sun, 14 Mar 2021 15:35:51 -0400 Subject: [PATCH] Updated Upstream (Bukkit) (#5359) Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: c589f546 Use upstream plexus-compiler-eclipse --- Spigot-API-Patches/0001-POM-changes.patch | 38 ++++++++----------- .../0002-Add-FastUtil-to-Bukkit.patch | 6 +-- Spigot-API-Patches/0005-Adventure.patch | 10 ++--- .../0023-Use-ASM-for-event-executors.patch | 4 +- ...low-plugins-to-use-SLF4J-for-logging.patch | 4 +- .../0257-Better-AnnotationTest-printout.patch | 4 +- work/Bukkit | 2 +- 7 files changed, 30 insertions(+), 38 deletions(-) diff --git a/Spigot-API-Patches/0001-POM-changes.patch b/Spigot-API-Patches/0001-POM-changes.patch index 023149518c..ef977bfb1e 100644 --- a/Spigot-API-Patches/0001-POM-changes.patch +++ b/Spigot-API-Patches/0001-POM-changes.patch @@ -5,10 +5,10 @@ Subject: [PATCH] POM changes diff --git a/pom.xml b/pom.xml -index 6b1cebc7fb6760a44359d81b029c4d8843125e49..ed19c62e5a2dbc7e660eae61aef21295afdb8aaf 100644 +index 5f3253b9c4a533e746707d602d4a7988519742ef..61b8ee4e3e122dd2671f50ea3b432e4abd4600a2 100644 --- a/pom.xml +++ b/pom.xml -@@ -2,34 +2,28 @@ +@@ -2,33 +2,34 @@ 4.0.0 @@ -40,31 +40,23 @@ index 6b1cebc7fb6760a44359d81b029c4d8843125e49..ed19c62e5a2dbc7e660eae61aef21295 - -- ++ + - spigotmc-releases - https://hub.spigotmc.org/nexus/content/repositories/releases/ -- ++ sonatype ++ https://oss.sonatype.org/content/groups/public/ + - - spigotmc-snapshots - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - -- - - com.google.guava -@@ -113,6 +125,7 @@ +@@ -93,6 +108,7 @@ @@ -93,7 +85,7 @@ index 6b1cebc7fb6760a44359d81b029c4d8843125e49..ed19c62e5a2dbc7e660eae61aef21295 net.md-5 -@@ -131,10 +144,6 @@ +@@ -111,10 +127,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.8.1 @@ -102,9 +94,9 @@ index 6b1cebc7fb6760a44359d81b029c4d8843125e49..ed19c62e5a2dbc7e660eae61aef21295 - eclipse - - -@@ -185,6 +194,7 @@ + org.codehaus.plexus +@@ -164,6 +176,7 @@ diff --git a/Spigot-API-Patches/0002-Add-FastUtil-to-Bukkit.patch b/Spigot-API-Patches/0002-Add-FastUtil-to-Bukkit.patch index d079504503..a5e6eda88d 100644 --- a/Spigot-API-Patches/0002-Add-FastUtil-to-Bukkit.patch +++ b/Spigot-API-Patches/0002-Add-FastUtil-to-Bukkit.patch @@ -6,11 +6,11 @@ Subject: [PATCH] Add FastUtil to Bukkit Doesn't expose to plugins, just allows Paper-API to use it for optimization diff --git a/pom.xml b/pom.xml -index ed19c62e5a2dbc7e660eae61aef21295afdb8aaf..58fc279186e01a4703102227f387e96272fcf0a7 100644 +index 61b8ee4e3e122dd2671f50ea3b432e4abd4600a2..12306d830c6889c2c9b12699abebe0411262aef6 100644 --- a/pom.xml +++ b/pom.xml -@@ -49,6 +49,12 @@ - +@@ -32,6 +32,12 @@ + + diff --git a/Spigot-API-Patches/0005-Adventure.patch b/Spigot-API-Patches/0005-Adventure.patch index 576fb6ed63..59c83d5724 100644 --- a/Spigot-API-Patches/0005-Adventure.patch +++ b/Spigot-API-Patches/0005-Adventure.patch @@ -7,12 +7,12 @@ Co-authored-by: zml Co-authored-by: Jake Potrebic diff --git a/pom.xml b/pom.xml -index 58fc279186e01a4703102227f387e96272fcf0a7..06f294ca94709b39f9f1e56fe32b44524b651c13 100644 +index 12306d830c6889c2c9b12699abebe0411262aef6..9e9aa8efe9f2d74f32c22dbd3cc5ed6dedf2ad1a 100644 --- a/pom.xml +++ b/pom.xml -@@ -48,7 +48,39 @@ - - +@@ -31,7 +31,39 @@ + + + + @@ -50,7 +50,7 @@ index 58fc279186e01a4703102227f387e96272fcf0a7..06f294ca94709b39f9f1e56fe32b4452 it.unimi.dsi fastutil -@@ -215,6 +247,12 @@ +@@ -197,6 +229,12 @@ https://javadoc.io/doc/org.yaml/snakeyaml/1.27/ https://javadoc.io/doc/org.jetbrains/annotations-java5/20.1.0/ https://javadoc.io/doc/net.md-5/bungeecord-chat/1.16-R0.4/ diff --git a/Spigot-API-Patches/0023-Use-ASM-for-event-executors.patch b/Spigot-API-Patches/0023-Use-ASM-for-event-executors.patch index faf6580968..618131cd6f 100644 --- a/Spigot-API-Patches/0023-Use-ASM-for-event-executors.patch +++ b/Spigot-API-Patches/0023-Use-ASM-for-event-executors.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Use ASM for event executors. Uses method handles for private or static methods. diff --git a/pom.xml b/pom.xml -index 2a73ac313919c671dd6b6eafd3caa5d44ac14dc1..c43d7d6ef8f8e60e027cde33efceeca6ce98d233 100644 +index 9e9aa8efe9f2d74f32c22dbd3cc5ed6dedf2ad1a..89918b5af7fbf42357e96dffb00b8a011a8ef13c 100644 --- a/pom.xml +++ b/pom.xml -@@ -160,6 +160,17 @@ +@@ -143,6 +143,17 @@ 9.0 test diff --git a/Spigot-API-Patches/0067-Allow-plugins-to-use-SLF4J-for-logging.patch b/Spigot-API-Patches/0067-Allow-plugins-to-use-SLF4J-for-logging.patch index 1b7c7bc74b..40c87d8a85 100644 --- a/Spigot-API-Patches/0067-Allow-plugins-to-use-SLF4J-for-logging.patch +++ b/Spigot-API-Patches/0067-Allow-plugins-to-use-SLF4J-for-logging.patch @@ -14,10 +14,10 @@ it without having to shade it in the plugin and going through several layers of logging abstraction. diff --git a/pom.xml b/pom.xml -index c43d7d6ef8f8e60e027cde33efceeca6ce98d233..1b9b4349e303a17e96ce0a09e8776b6635092e57 100644 +index 89918b5af7fbf42357e96dffb00b8a011a8ef13c..e1d1635889d68d1e17dc66f3a65545b44deffa69 100644 --- a/pom.xml +++ b/pom.xml -@@ -141,6 +141,13 @@ +@@ -124,6 +124,13 @@ 20.1.0 provided diff --git a/Spigot-API-Patches/0257-Better-AnnotationTest-printout.patch b/Spigot-API-Patches/0257-Better-AnnotationTest-printout.patch index d1c2bf74f7..b8baf9fe8e 100644 --- a/Spigot-API-Patches/0257-Better-AnnotationTest-printout.patch +++ b/Spigot-API-Patches/0257-Better-AnnotationTest-printout.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Better AnnotationTest printout diff --git a/pom.xml b/pom.xml -index 650dbfd69281ada120c9cd9b04934f493c65977c..af17cd24b44c601f300e3ad5d6c57d810768b5e8 100644 +index e1d1635889d68d1e17dc66f3a65545b44deffa69..bba9d7a8a61018f2fc8b9059ad012d43810599dc 100644 --- a/pom.xml +++ b/pom.xml -@@ -255,6 +255,19 @@ +@@ -237,6 +237,19 @@ true diff --git a/work/Bukkit b/work/Bukkit index d264e972e9..c589f5464d 160000 --- a/work/Bukkit +++ b/work/Bukkit @@ -1 +1 @@ -Subproject commit d264e972e9fecfea2f4a016c5d89ab8611680eb3 +Subproject commit c589f5464d0c822a21ffff763af526ef4ecfb243