diff --git a/spring-boot-tools/spring-boot-loader-tools/pom.xml b/spring-boot-tools/spring-boot-loader-tools/pom.xml
index 0ab99b5b6a..40f93dd0b7 100644
--- a/spring-boot-tools/spring-boot-loader-tools/pom.xml
+++ b/spring-boot-tools/spring-boot-loader-tools/pom.xml
@@ -11,6 +11,30 @@
${basedir}/../..
+
+
+ standard-jdk
+
+
+ ${java.home}/../lib/tools.jar
+
+
+
+ ${java.home}/../lib/tools.jar
+
+
+
+ apple-jdk
+
+
+ ${java.home}/../Classes/classes.jar
+
+
+
+ ${java.home}/../Classes/classes.jar
+
+
+
@@ -18,7 +42,7 @@
tools
${java.version}
system
- ${java.home}/../lib/tools.jar
+ ${tools-jar}
org.springframework
diff --git a/spring-boot-tools/spring-boot-maven-plugin/pom.xml b/spring-boot-tools/spring-boot-maven-plugin/pom.xml
index a8ec989826..2796c6af5f 100644
--- a/spring-boot-tools/spring-boot-maven-plugin/pom.xml
+++ b/spring-boot-tools/spring-boot-maven-plugin/pom.xml
@@ -12,6 +12,28 @@
${basedir}/../..
+
+ standard-jdk
+
+
+ ${java.home}/../lib/tools.jar
+
+
+
+ ${java.home}/../lib/tools.jar
+
+
+
+ apple-jdk
+
+
+ ${java.home}/../Classes/classes.jar
+
+
+
+ ${java.home}/../Classes/classes.jar
+
+
integration
@@ -46,6 +68,13 @@
+
+ com.sun
+ tools
+ ${java.version}
+ system
+ ${tools-jar}
+
${project.groupId}
spring-boot-loader-tools