diff --git a/spring-boot-junit-runners/pom.xml b/spring-boot-junit-runners/pom.xml
index db73b986fc..6aadc87fd9 100644
--- a/spring-boot-junit-runners/pom.xml
+++ b/spring-boot-junit-runners/pom.xml
@@ -37,20 +37,6 @@
-
- org.apache.maven
- maven-settings-builder
-
-
- org.codehaus.plexus
- plexus-component-api
-
-
- *
- *
-
-
-
org.eclipse.aether
aether-api
@@ -67,10 +53,6 @@
org.eclipse.aether
aether-spi
-
- org.eclipse.aether
- aether-transport-file
-
org.eclipse.aether
aether-transport-http
@@ -81,18 +63,19 @@
-
- org.eclipse.aether
- aether-util
-
org.springframework
spring-core
- io.projectreactor.spring
- reactor-spring-context
+ org.hibernate
+ hibernate-validator
+ test
+
+
+ org.springframework
+ spring-context
test
diff --git a/spring-boot-junit-runners/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java b/spring-boot-junit-runners/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java
index 5ffb5e445e..8f8abd935c 100644
--- a/spring-boot-junit-runners/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java
+++ b/spring-boot-junit-runners/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java
@@ -72,7 +72,7 @@ public class ModifiedClassPathRunner extends BlockJUnit4ClassRunner {
protected TestClass createTestClass(Class> testClass) {
try {
ClassLoader classLoader = createTestClassLoader(testClass);
- return new FilteredTestClass(classLoader, testClass.getName());
+ return new ModifiedClassPathTestClass(classLoader, testClass.getName());
}
catch (Exception ex) {
throw new IllegalStateException(ex);
@@ -81,9 +81,9 @@ public class ModifiedClassPathRunner extends BlockJUnit4ClassRunner {
@Override
protected Object createTest() throws Exception {
- FilteredTestClass testClass = (FilteredTestClass) getTestClass();
- return testClass.doWithFilteredContextClassLoader(
- new FilteredTestClass.FilteredTcclAction