diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml
index 41eb379245..06122d8c5f 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 0cbadadf8b..c042869703 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 9233f31048..2de5d57e79 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 bf0a1a49a2..a263d9637b 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 3b86a16c95..c205ec9cd8 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 64cc9d8ca9..cb6a9681db 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 d016f9127e..20a912330b 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 73f6c46c58..568fe34418 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 502a2b7fd7..2d9a566edb 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 d2b557147b..9b4966693b 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
+
+
+
+
+
+