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.
This commit is contained in:
Shane Freeder 2017-11-06 23:58:32 +00:00
parent 9fd1b06aa8
commit ef87e1e584

View file

@ -5,7 +5,7 @@ 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
@@ -0,0 +0,0 @@
@ -157,6 +157,12 @@ index f31825f52..6a0a02883 100644
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.20.1</version>
+ <version>2.20</version> <!-- Paper - revert due to regression in some environments -->
<configuration>
<workingDirectory>${basedir}/target/test-server</workingDirectory>
<excludes>
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