diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml
index 41eb3792452..06122d8c5f0 100644
--- a/spring-boot-samples/pom.xml
+++ b/spring-boot-samples/pom.xml
@@ -247,23 +247,4 @@
-
-
- java9
-
- 9
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
- --add-modules java.base,java.xml.bind
-
-
-
-
-
-
diff --git a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml
index 0cbadadf8bc..c042869703f 100755
--- a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml
@@ -45,4 +45,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-data-rest/pom.xml b/spring-boot-samples/spring-boot-sample-data-rest/pom.xml
index 9233f310481..2de5d57e797 100644
--- a/spring-boot-samples/spring-boot-sample-data-rest/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-data-rest/pom.xml
@@ -64,4 +64,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-flyway/pom.xml b/spring-boot-samples/spring-boot-sample-flyway/pom.xml
index bf0a1a49a2f..a263d9637b5 100644
--- a/spring-boot-samples/spring-boot-sample-flyway/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-flyway/pom.xml
@@ -53,4 +53,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-jersey/pom.xml b/spring-boot-samples/spring-boot-sample-jersey/pom.xml
index 3b86a16c959..c205ec9cd85 100644
--- a/spring-boot-samples/spring-boot-sample-jersey/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-jersey/pom.xml
@@ -54,4 +54,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-jpa/pom.xml b/spring-boot-samples/spring-boot-sample-jpa/pom.xml
index 64cc9d8ca96..cb6a9681db2 100644
--- a/spring-boot-samples/spring-boot-sample-jpa/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-jpa/pom.xml
@@ -53,4 +53,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-jta-atomikos/pom.xml b/spring-boot-samples/spring-boot-sample-jta-atomikos/pom.xml
index d016f9127e6..20a912330bb 100644
--- a/spring-boot-samples/spring-boot-sample-jta-atomikos/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-jta-atomikos/pom.xml
@@ -61,4 +61,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-jta-bitronix/pom.xml b/spring-boot-samples/spring-boot-sample-jta-bitronix/pom.xml
index 73f6c46c585..568fe344185 100644
--- a/spring-boot-samples/spring-boot-sample-jta-bitronix/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-jta-bitronix/pom.xml
@@ -61,4 +61,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-jta-narayana/pom.xml b/spring-boot-samples/spring-boot-sample-jta-narayana/pom.xml
index 502a2b7fd76..2d9a566edb0 100644
--- a/spring-boot-samples/spring-boot-sample-jta-narayana/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-jta-narayana/pom.xml
@@ -60,4 +60,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-test/pom.xml b/spring-boot-samples/spring-boot-sample-test/pom.xml
index d2b557147be..9b4966693b8 100644
--- a/spring-boot-samples/spring-boot-sample-test/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-test/pom.xml
@@ -61,4 +61,30 @@
+
+
+ java9
+
+ 9
+
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-modules java.base
+
+
+
+
+
+