File tree 12 files changed +95
-22
lines changed
spring-boot-actuator-autoconfigure
spring-boot-autoconfigure
src/test/java/org/springframework/boot/cli/command/install
spring-boot-starters/spring-boot-starter-test
spring-boot-test-autoconfigure
spring-boot-tools/spring-boot-test-support
12 files changed +95
-22
lines changed Original file line number Diff line number Diff line change 497
497
<groupId >com.squareup.okhttp3</groupId >
498
498
<artifactId >mockwebserver</artifactId >
499
499
<scope >test</scope >
500
+ <exclusions >
501
+ <exclusion >
502
+ <groupId >org.hamcrest</groupId >
503
+ <artifactId >hamcrest-core</artifactId >
504
+ </exclusion >
505
+ </exclusions >
500
506
</dependency >
501
507
<dependency >
502
508
<groupId >com.jayway.jsonpath</groupId >
Original file line number Diff line number Diff line change 855
855
<groupId >com.squareup.okhttp3</groupId >
856
856
<artifactId >mockwebserver</artifactId >
857
857
<scope >test</scope >
858
+ <exclusions >
859
+ <exclusion >
860
+ <groupId >org.hamcrest</groupId >
861
+ <artifactId >hamcrest-core</artifactId >
862
+ </exclusion >
863
+ </exclusions >
858
864
</dependency >
859
865
<dependency >
860
866
<groupId >com.sun.xml.messaging.saaj</groupId >
Original file line number Diff line number Diff line change 153
153
<groupId >junit</groupId >
154
154
<artifactId >junit</artifactId >
155
155
<scope >test</scope >
156
+ <exclusions >
157
+ <exclusion >
158
+ <groupId >org.hamcrest</groupId >
159
+ <artifactId >hamcrest-core</artifactId >
160
+ </exclusion >
161
+ </exclusions >
156
162
</dependency >
157
163
</dependencies >
158
164
<build >
Original file line number Diff line number Diff line change @@ -121,9 +121,9 @@ public void resolveShorthandArtifactWithDependencies() throws Exception {
121
121
public void resolveMultipleArtifacts () throws Exception {
122
122
List <File > resolved = this .resolver .resolve (Arrays .asList ("junit:junit:4.11" ,
123
123
"commons-logging:commons-logging:1.1.3" ));
124
- assertThat (resolved ).hasSize (3 );
124
+ assertThat (resolved ).hasSize (4 );
125
125
assertThat (getNames (resolved )).containsOnly ("junit-4.11.jar" ,
126
- "commons-logging-1.1.3.jar" , "hamcrest-core-1.3 .jar" );
126
+ "commons-logging-1.1.3.jar" , "hamcrest-core-2.1.jar" , "hamcrest-2.1 .jar" );
127
127
}
128
128
129
129
public Set <String > getNames (Collection <File > files ) {
Original file line number Diff line number Diff line change 66
66
<groovy .version>2.5.7</groovy .version>
67
67
<gson .version>2.8.5</gson .version>
68
68
<h2 .version>1.4.199</h2 .version>
69
- <hamcrest .version>1.3 </hamcrest .version>
69
+ <hamcrest .version>2.1 </hamcrest .version>
70
70
<hazelcast .version>3.12</hazelcast .version>
71
71
<hazelcast-hibernate5 .version>1.3.2</hazelcast-hibernate5 .version>
72
72
<hibernate .version>5.4.2.Final</hibernate .version>
2245
2245
<scope >import</scope >
2246
2246
<type >pom</type >
2247
2247
</dependency >
2248
+ <dependency >
2249
+ <groupId >org.hamcrest</groupId >
2250
+ <artifactId >hamcrest</artifactId >
2251
+ <version >${hamcrest.version} </version >
2252
+ </dependency >
2248
2253
<dependency >
2249
2254
<groupId >org.hamcrest</groupId >
2250
2255
<artifactId >hamcrest-core</artifactId >
Original file line number Diff line number Diff line change 88
88
<groupId >javax.activation</groupId >
89
89
<artifactId >activation</artifactId >
90
90
</exclusion >
91
+ <exclusion >
92
+ <groupId >org.hamcrest</groupId >
93
+ <artifactId >hamcrest-core</artifactId >
94
+ </exclusion >
95
+ <exclusion >
96
+ <groupId >org.hamcrest</groupId >
97
+ <artifactId >hamcrest-library</artifactId >
98
+ </exclusion >
91
99
</exclusions >
92
100
</dependency >
93
101
<dependency >
401
409
<groupId >junit</groupId >
402
410
<artifactId >junit</artifactId >
403
411
<optional >true</optional >
412
+ <exclusions >
413
+ <exclusion >
414
+ <groupId >org.hamcrest</groupId >
415
+ <artifactId >hamcrest-core</artifactId >
416
+ </exclusion >
417
+ </exclusions >
404
418
</dependency >
405
419
<dependency >
406
420
<groupId >org.junit.jupiter</groupId >
660
674
</dependency >
661
675
<dependency >
662
676
<groupId >org.hamcrest</groupId >
663
- <artifactId >hamcrest-library </artifactId >
677
+ <artifactId >hamcrest</artifactId >
664
678
<optional >true</optional >
665
679
</dependency >
666
680
<dependency >
Original file line number Diff line number Diff line change 246
246
<groupId >org.junit.vintage</groupId >
247
247
<artifactId >junit-vintage-engine</artifactId >
248
248
<scope >test</scope >
249
+ <exclusions >
250
+ <exclusion >
251
+ <groupId >org.hamcrest</groupId >
252
+ <artifactId >hamcrest-core</artifactId >
253
+ </exclusion >
254
+ </exclusions >
249
255
</dependency >
250
256
<dependency >
251
257
<groupId >org.mockito</groupId >
264
270
</dependency >
265
271
<dependency >
266
272
<groupId >org.hamcrest</groupId >
267
- <artifactId >hamcrest-library </artifactId >
273
+ <artifactId >hamcrest</artifactId >
268
274
<scope >test</scope >
269
275
</dependency >
270
276
<dependency >
583
589
<bannedDependencies >
584
590
<excludes >
585
591
<exclude >com.zaxxer:HikariCP-*</exclude >
592
+ <exclude >org.hamcrest:hamcrest-*</exclude >
586
593
<exclude >javax.*:*:*</exclude >
587
594
</excludes >
588
595
<includes >
Original file line number Diff line number Diff line change 42
42
<dependency >
43
43
<groupId >org.junit.vintage</groupId >
44
44
<artifactId >junit-vintage-engine</artifactId >
45
+ <exclusions >
46
+ <exclusion >
47
+ <groupId >org.hamcrest</groupId >
48
+ <artifactId >hamcrest-core</artifactId >
49
+ </exclusion >
50
+ </exclusions >
45
51
</dependency >
46
52
<dependency >
47
53
<groupId >junit</groupId >
48
54
<artifactId >junit</artifactId >
55
+ <exclusions >
56
+ <exclusion >
57
+ <groupId >org.hamcrest</groupId >
58
+ <artifactId >hamcrest-core</artifactId >
59
+ </exclusion >
60
+ </exclusions >
49
61
</dependency >
50
62
<dependency >
51
63
<groupId >org.mockito</groupId >
57
69
</dependency >
58
70
<dependency >
59
71
<groupId >org.hamcrest</groupId >
60
- <artifactId >hamcrest-core</artifactId >
61
- </dependency >
62
- <dependency >
63
- <groupId >org.hamcrest</groupId >
64
- <artifactId >hamcrest-library</artifactId >
72
+ <artifactId >hamcrest</artifactId >
65
73
</dependency >
66
74
<dependency >
67
75
<groupId >org.mockito</groupId >
Original file line number Diff line number Diff line change 53
53
<groupId >javax.activation</groupId >
54
54
<artifactId >activation</artifactId >
55
55
</exclusion >
56
+ <exclusion >
57
+ <groupId >org.hamcrest</groupId >
58
+ <artifactId >hamcrest-core</artifactId >
59
+ </exclusion >
60
+ <exclusion >
61
+ <groupId >org.hamcrest</groupId >
62
+ <artifactId >hamcrest-library</artifactId >
63
+ </exclusion >
56
64
</exclusions >
57
65
</dependency >
58
66
<dependency >
367
375
<groupId >javax.xml.bind</groupId >
368
376
<artifactId >jaxb-api</artifactId >
369
377
</exclusion >
378
+ <exclusion >
379
+ <groupId >org.hamcrest</groupId >
380
+ <artifactId >hamcrest-core</artifactId >
381
+ </exclusion >
370
382
</exclusions >
371
383
</dependency >
372
384
</dependencies >
Original file line number Diff line number Diff line change 54
54
<groupId >junit</groupId >
55
55
<artifactId >junit</artifactId >
56
56
<optional >true</optional >
57
+ <exclusions >
58
+ <exclusion >
59
+ <groupId >org.hamcrest</groupId >
60
+ <artifactId >hamcrest-core</artifactId >
61
+ </exclusion >
62
+ </exclusions >
57
63
</dependency >
58
64
<dependency >
59
65
<groupId >org.apache.httpcomponents</groupId >
67
73
</dependency >
68
74
<dependency >
69
75
<groupId >org.hamcrest</groupId >
70
- <artifactId >hamcrest-core</artifactId >
71
- <optional >true</optional >
72
- </dependency >
73
- <dependency >
74
- <groupId >org.hamcrest</groupId >
75
- <artifactId >hamcrest-library</artifactId >
76
+ <artifactId >hamcrest</artifactId >
76
77
<optional >true</optional >
77
78
</dependency >
78
79
<dependency >
Original file line number Diff line number Diff line change 49
49
</dependency >
50
50
<dependency >
51
51
<groupId >org.hamcrest</groupId >
52
- <artifactId >hamcrest-core</artifactId >
53
- </dependency >
54
- <dependency >
55
- <groupId >org.hamcrest</groupId >
56
- <artifactId >hamcrest-library</artifactId >
52
+ <artifactId >hamcrest</artifactId >
57
53
</dependency >
58
54
<dependency >
59
55
<groupId >org.assertj</groupId >
118
114
<groupId >junit</groupId >
119
115
<artifactId >junit</artifactId >
120
116
<scope >provided</scope >
117
+ <exclusions >
118
+ <exclusion >
119
+ <groupId >org.hamcrest</groupId >
120
+ <artifactId >hamcrest-core</artifactId >
121
+ </exclusion >
122
+ </exclusions >
121
123
</dependency >
122
124
<!-- Test -->
123
125
<dependency >
Original file line number Diff line number Diff line change 115
115
<groupId >junit</groupId >
116
116
<artifactId >junit</artifactId >
117
117
<optional >true</optional >
118
+ <exclusions >
119
+ <exclusion >
120
+ <groupId >org.hamcrest</groupId >
121
+ <artifactId >hamcrest-core</artifactId >
122
+ </exclusion >
123
+ </exclusions >
118
124
</dependency >
119
125
<dependency >
120
126
<groupId >org.apache.commons</groupId >
210
216
</dependency >
211
217
<dependency >
212
218
<groupId >org.hamcrest</groupId >
213
- <artifactId >hamcrest-library </artifactId >
219
+ <artifactId >hamcrest</artifactId >
214
220
<optional >true</optional >
215
221
</dependency >
216
222
<dependency >
You can’t perform that action at this time.
0 commit comments