File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 <groupId >org.springframework.boot</groupId >
9090 <artifactId >spring-boot-starter-test</artifactId >
9191 <scope >test</scope >
92+ <exclusions >
93+ <exclusion >
94+ <groupId >org.hamcrest</groupId >
95+ <artifactId >hamcrest</artifactId >
96+ </exclusion >
97+ </exclusions >
9298 </dependency >
9399 <dependency >
94100 <groupId >org.springframework.boot</groupId >
123129 <groupId >org.hamcrest</groupId >
124130 <artifactId >hamcrest-library</artifactId >
125131 </exclusion >
132+ <exclusion >
133+ <groupId >junit</groupId >
134+ <artifactId >junit</artifactId >
135+ </exclusion >
126136 </exclusions >
127137 </dependency >
128138 <dependency >
Original file line number Diff line number Diff line change 1+ package org .junit .rules ;
2+
3+ /**
4+ * This is required by Testcontainers but actually unused.
5+ * By defining this here, we can avoid loading Junit-4.
6+ * See: https://github.com/testcontainers/testcontainers-java/issues/970
7+ */
8+ @ SuppressWarnings ("unused" )
9+ public interface TestRule {
10+ }
Original file line number Diff line number Diff line change 1+ package org .junit .runners .model ;
2+
3+ /**
4+ * This is required by Testcontainers but actually unused.
5+ * By defining this here, we can avoid loading Junit-4.
6+ * See: https://github.com/testcontainers/testcontainers-java/issues/970
7+ */
8+ @ SuppressWarnings ("unused" )
9+ public class Statement {
10+ }
You can’t perform that action at this time.
0 commit comments