From 6f3d1797a7837c2a65dfd6864548e00ffa8be408 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 26 Sep 2017 11:58:53 +0200 Subject: [PATCH] Improve Java9 compatibility This commit workarounds a bug in Surefire, see https://issues.apache.org/jira/browse/SUREFIRE-1424 It also adds `javax.xml.bind` as it is no longer provided by default with Java9 See gh-7226 --- spring-boot-parent/pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/spring-boot-parent/pom.xml b/spring-boot-parent/pom.xml index afc33641cd..9cb604ee06 100644 --- a/spring-boot-parent/pom.xml +++ b/spring-boot-parent/pom.xml @@ -923,5 +923,22 @@ + + java9 + + 9 + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --add-modules java.base,java.xml.bind + + + + +