From e2e954b5a2cecb6c31dfae5cd7ebd9664250eb54 Mon Sep 17 00:00:00 2001 From: virtualWinter Date: Fri, 21 Jul 2023 05:14:41 +0300 Subject: [PATCH] The first patches --- patches/api/0001-Pom-changes.patch | 55 +++++ .../0002-More-pom.xml-ceanup-updates.patch | 50 ++++ .../server/0001-pom.xml-ceanup-updates.patch | 220 ++++++++++++++++++ pom.xml | 3 +- 4 files changed, 327 insertions(+), 1 deletion(-) create mode 100644 patches/api/0001-Pom-changes.patch create mode 100644 patches/api/0002-More-pom.xml-ceanup-updates.patch create mode 100644 patches/server/0001-pom.xml-ceanup-updates.patch diff --git a/patches/api/0001-Pom-changes.patch b/patches/api/0001-Pom-changes.patch new file mode 100644 index 0000000..48f5c8d --- /dev/null +++ b/patches/api/0001-Pom-changes.patch @@ -0,0 +1,55 @@ +From 5d076a3dc1f39f2503e6727c8950b7d7b32a3871 Mon Sep 17 00:00:00 2001 +From: virtualWinter +Date: Fri, 21 Jul 2023 04:58:39 +0300 +Subject: [PATCH] Pom changes + + +diff --git a/pom.xml b/pom.xml +index fe9d6d26..14c8fda0 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -4,18 +4,16 @@ + 4.0.0 + + +- org.github.paperspigot +- paperspigot-parent ++ net.hylist ++ mspigot-parent + dev-SNAPSHOT + + +- org.github.paperspigot +- paperspigot-api ++ mspigot-api + 1.8.8-R0.1-SNAPSHOT + jar + +- PaperSpigot-API +- https://hub.spigotmc.org/stash/projects/PAPER/ ++ mSpigot-API + An enhanced plugin API for Minecraft servers. + + +@@ -26,18 +24,6 @@ + UTF-8 + + +- +- +- +- destroystokyo-releases +- https://repo.destroystokyo.com/content/repositories/releases/ +- +- +- destroystokyo-snapshots +- https://repo.destroystokyo.com/content/repositories/snapshots/ +- +- +- + + + +-- +2.41.0.windows.1 + diff --git a/patches/api/0002-More-pom.xml-ceanup-updates.patch b/patches/api/0002-More-pom.xml-ceanup-updates.patch new file mode 100644 index 0000000..28ac94a --- /dev/null +++ b/patches/api/0002-More-pom.xml-ceanup-updates.patch @@ -0,0 +1,50 @@ +From 3e6822e8eacfd02ee03f4ecab347d32c60a92eca Mon Sep 17 00:00:00 2001 +From: virtualWinter +Date: Fri, 21 Jul 2023 05:12:56 +0300 +Subject: [PATCH] More pom.xml ceanup + updates + + +diff --git a/pom.xml b/pom.xml +index 14c8fda0..83f9f514 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -106,16 +106,11 @@ + + org.apache.maven.plugins + maven-compiler-plugin +- +- 3.1 ++ 3.11.0 + +- +- eclipse +- + true + + +- + + org.codehaus.plexus + plexus-compiler-eclipse +@@ -126,7 +121,7 @@ + + org.apache.maven.plugins + maven-shade-plugin +- 2.3 ++ 3.5.0 + + + package +@@ -136,9 +131,7 @@ + + + +- + false +- + true + + +-- +2.41.0.windows.1 + diff --git a/patches/server/0001-pom.xml-ceanup-updates.patch b/patches/server/0001-pom.xml-ceanup-updates.patch new file mode 100644 index 0000000..1312de4 --- /dev/null +++ b/patches/server/0001-pom.xml-ceanup-updates.patch @@ -0,0 +1,220 @@ +From 3992f92e2797b07a20720fb12d4e5ade57c1dbde Mon Sep 17 00:00:00 2001 +From: virtualWinter +Date: Fri, 21 Jul 2023 05:13:15 +0300 +Subject: [PATCH] pom.xml ceanup + updates + + +diff --git a/pom.xml b/pom.xml +index 644305e6..e70c7c4b 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -1,12 +1,17 @@ + + 4.0.0 +- org.github.paperspigot +- paperspigot ++ mspigot-server + jar + 1.8.8-R0.1-SNAPSHOT +- PaperSpigot +- https://hub.spigotmc.org/stash/projects/PAPER/ ++ mSpigot-Server ++ ++ ++ net.hylist ++ mspigot-parent ++ dev-SNAPSHOT ++ ../pom.xml ++ + + + UTF-8 +@@ -16,18 +21,10 @@ + 1_8_R3 + git-Bukkit- + +- + 1.8 + 1.8 + + +- +- org.github.paperspigot +- paperspigot-parent +- dev-SNAPSHOT +- ../pom.xml +- +- + + + net.sf.trove4j +@@ -35,16 +32,16 @@ + 3.0.3 + + +- org.github.paperspigot +- paperspigot-api +- ${project.version} ++ net.hylist ++ mspigot-api ++ 1.8.8-R0.1-SNAPSHOT + jar + compile + + + org.apache.logging.log4j + log4j-core +- 2.17.0 ++ 2.17.0 + compile + + +@@ -64,7 +61,7 @@ + + jline + jline +- 2.12.1 ++ 2.12.1 + jar + compile + +@@ -82,7 +79,6 @@ + jar + compile + +- + + junit + junit +@@ -97,29 +93,26 @@ + + + +- + + + spigotmc-public + https://hub.spigotmc.org/nexus/content/groups/public/ + +- + +- papermc +- https://papermc.io/repo/repository/maven-public/ ++ papermc ++ https://papermc.io/repo/repository/maven-public/ + + + +- + + install + + + com.lukegb.mojo + gitdescribe-maven-plugin +- 1.3 ++ 3.0 + +- git-PaperSpigot- ++ git-mSpigot- + .. + + +@@ -134,9 +127,9 @@ + + org.apache.maven.plugins + maven-jar-plugin +- 2.5 ++ 3.3.0 + +- true ++ true + + + org.bukkit.craftbukkit.Main +@@ -146,7 +139,7 @@ + Bukkit + ${api.version} + Bukkit Team +- true ++ true + + + +@@ -174,7 +167,7 @@ + + org.apache.maven.plugins + maven-shade-plugin +- 3.2.4 ++ 3.5.0 + + + package +@@ -182,7 +175,6 @@ + shade + + +- + + + org.spigotmc:minecraft-server:** +@@ -191,7 +183,6 @@ + + + +- + + + joptsimple +@@ -225,37 +216,14 @@ + + + +- +- +- net.md-5 +- specialsource-maven-plugin +- 1.2.3 +- +- +- package +- +- remap +- +- +- ${project.basedir}/deprecation-mappings.csrg +- ${project.basedir}/deprecation-mappings.at +- +- +- +- + + org.apache.maven.plugins + maven-compiler-plugin +- +- 3.1 ++ 3.11.0 + +- +- eclipse +- + true + + +- + + org.codehaus.plexus + plexus-compiler-eclipse +@@ -266,7 +234,7 @@ + + org.apache.maven.plugins + maven-surefire-plugin +- 2.18 ++ 3.1.2 + + ${basedir}/target/test-server + +-- +2.41.0.windows.1 + diff --git a/pom.xml b/pom.xml index fc397f2..58c9cf9 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,8 @@ 4.0.0 net.hylist - spigot-parent + mspigot-parent + mSpigot-Parent dev-SNAPSHOT pom Production version of Spigot for Hylist servers. Ported to 1.8.8