From d1d4f3b4655fa3360069fc88c895f6adaff05918 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Mon, 6 Nov 2017 23:58:32 +0000 Subject: [PATCH] Revert maven-surefire to prevent a build regression In some environments, the 2.20.1 version of the maven surefire plugin can cause builds to fail due to changes in surefire in how it detects that the forked JVM used for testing is still alive or not. --- Spigot-Server-Patches/0001-POM-Changes.patch | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Spigot-Server-Patches/0001-POM-Changes.patch b/Spigot-Server-Patches/0001-POM-Changes.patch index d82833e63f..c97675f4e6 100644 --- a/Spigot-Server-Patches/0001-POM-Changes.patch +++ b/Spigot-Server-Patches/0001-POM-Changes.patch @@ -1,11 +1,11 @@ -From b729acf6c391a7f26a4e093724d238d56e6fa812 Mon Sep 17 00:00:00 2001 +From 4daeb84c011999face5942ce02193c4e0ba552c9 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 29 Feb 2016 20:40:33 -0600 Subject: [PATCH] POM Changes diff --git a/pom.xml b/pom.xml -index f31825f52..6a0a02883 100644 +index c73b4b4f5..0c4398228 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,12 @@ @@ -138,7 +138,7 @@ index f31825f52..6a0a02883 100644 org.bukkit.craftbukkit org.bukkit.craftbukkit.v${minecraft_version} -@@ -247,18 +239,6 @@ +@@ -247,23 +239,11 @@ org.apache.maven.plugins maven-compiler-plugin 3.7.0 @@ -157,6 +157,12 @@ index f31825f52..6a0a02883 100644 org.apache.maven.plugins + maven-surefire-plugin +- 2.20.1 ++ 2.20 + + ${basedir}/target/test-server + diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java index 93046379d..674096cab 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java @@ -171,5 +177,5 @@ index 93046379d..674096cab 100644 if (stream != null) { -- -2.14.1 +2.14.3