From eddf27320fa1a973548c38ecb2cc8b3fd116b7ad Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 29 Sep 2017 10:59:49 +0200 Subject: [PATCH] Configuring Surefire for samples when running on Java 9 See gh-7226 --- spring-boot-samples/pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml index e29d7b02076..a6c1e530d8c 100644 --- a/spring-boot-samples/pom.xml +++ b/spring-boot-samples/pom.xml @@ -259,4 +259,26 @@ + + + java9 + + 9 + + + 1.9.0.BETA-7 + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --add-modules java.base,java.xml.bind + + + + + +