File tree 16 files changed +53
-78
lines changed
open-cluster-management/mock
verticalpodautoscaler/mock
16 files changed +53
-78
lines changed Original file line number Diff line number Diff line change 9
9
* Fix #4256 : crd-generator-apt pom.xml includes transitive dependencies
10
10
* Fix #4294 : crd-generator respects JsonIgnore annotations on enum properties
11
11
* Fix #4320 : corrected leader transitions field on leader election leases
12
+ * Fix #4360 : JUnit dependencies aren't leaked in child modules
12
13
13
14
14
15
#### Improvements
Original file line number Diff line number Diff line change 41
41
42
42
<dependency >
43
43
<groupId >org.junit.jupiter</groupId >
44
- <artifactId >junit-jupiter-engine</artifactId >
45
- <scope >test</scope >
46
- </dependency >
47
-
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
44
+ <artifactId >junit-jupiter-api</artifactId >
45
+ <scope >provided</scope >
52
46
</dependency >
53
47
</dependencies >
54
48
Original file line number Diff line number Diff line change 42
42
43
43
<dependency >
44
44
<groupId >org.junit.jupiter</groupId >
45
- <artifactId >junit-jupiter-engine</artifactId >
46
- <scope >test</scope >
47
- </dependency >
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
45
+ <artifactId >junit-jupiter-api</artifactId >
46
+ <scope >provided</scope >
52
47
</dependency >
53
48
</dependencies >
54
49
Original file line number Diff line number Diff line change 42
42
43
43
<dependency >
44
44
<groupId >org.junit.jupiter</groupId >
45
- <artifactId >junit-jupiter-engine</artifactId >
46
- <scope >test</scope >
47
- </dependency >
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
45
+ <artifactId >junit-jupiter-api</artifactId >
46
+ <scope >provided</scope >
52
47
</dependency >
53
48
</dependencies >
54
49
Original file line number Diff line number Diff line change 40
40
41
41
<dependency >
42
42
<groupId >org.junit.jupiter</groupId >
43
- <artifactId >junit-jupiter-engine</artifactId >
44
- </dependency >
45
-
46
- <dependency >
47
- <groupId >org.junit.jupiter</groupId >
48
- <artifactId >junit-jupiter-migrationsupport</artifactId >
43
+ <artifactId >junit-jupiter-api</artifactId >
44
+ <scope >provided</scope >
49
45
</dependency >
50
46
</dependencies >
51
47
Original file line number Diff line number Diff line change 40
40
41
41
<dependency >
42
42
<groupId >org.junit.jupiter</groupId >
43
- <artifactId >junit-jupiter-engine</artifactId >
44
- </dependency >
45
-
46
- <dependency >
47
- <groupId >org.junit.jupiter</groupId >
48
- <artifactId >junit-jupiter-migrationsupport</artifactId >
43
+ <artifactId >junit-jupiter-api</artifactId >
44
+ <scope >provided</scope >
49
45
</dependency >
50
46
</dependencies >
51
47
Original file line number Diff line number Diff line change 42
42
43
43
<dependency >
44
44
<groupId >org.junit.jupiter</groupId >
45
- <artifactId >junit-jupiter-engine</artifactId >
46
- <scope >test</scope >
47
- </dependency >
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
45
+ <artifactId >junit-jupiter-api</artifactId >
46
+ <scope >provided</scope >
52
47
</dependency >
53
48
</dependencies >
54
49
Original file line number Diff line number Diff line change 41
41
42
42
<dependency >
43
43
<groupId >org.junit.jupiter</groupId >
44
- <artifactId >junit-jupiter-engine</artifactId >
45
- <scope >test</scope >
46
- </dependency >
47
- <dependency >
48
- <groupId >org.junit.jupiter</groupId >
49
- <artifactId >junit-jupiter-migrationsupport</artifactId >
50
- <scope >test</scope >
44
+ <artifactId >junit-jupiter-api</artifactId >
45
+ <scope >provided</scope >
51
46
</dependency >
52
47
</dependencies >
53
48
Original file line number Diff line number Diff line change 41
41
42
42
<dependency >
43
43
<groupId >org.junit.jupiter</groupId >
44
- <artifactId >junit-jupiter-engine</artifactId >
45
- <scope >test</scope >
46
- </dependency >
47
-
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
44
+ <artifactId >junit-jupiter-api</artifactId >
45
+ <scope >provided</scope >
52
46
</dependency >
53
47
</dependencies >
54
48
Original file line number Diff line number Diff line change 42
42
43
43
<dependency >
44
44
<groupId >org.junit.jupiter</groupId >
45
- <artifactId >junit-jupiter-engine</artifactId >
46
- <scope >test</scope >
47
- </dependency >
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
45
+ <artifactId >junit-jupiter-api</artifactId >
46
+ <scope >provided</scope >
52
47
</dependency >
53
48
</dependencies >
54
49
Original file line number Diff line number Diff line change 40
40
</dependency >
41
41
<dependency >
42
42
<groupId >org.junit.jupiter</groupId >
43
- <artifactId >junit-jupiter-engine </artifactId >
44
- <scope >test </scope >
43
+ <artifactId >junit-jupiter-api </artifactId >
44
+ <scope >provided </scope >
45
45
</dependency >
46
46
</dependencies >
47
47
Original file line number Diff line number Diff line change 42
42
43
43
<dependency >
44
44
<groupId >org.junit.jupiter</groupId >
45
- <artifactId >junit-jupiter-engine</artifactId >
46
- <scope >test</scope >
47
- </dependency >
48
- <dependency >
49
- <groupId >org.junit.jupiter</groupId >
50
- <artifactId >junit-jupiter-migrationsupport</artifactId >
51
- <scope >test</scope >
45
+ <artifactId >junit-jupiter-api</artifactId >
46
+ <scope >provided</scope >
52
47
</dependency >
53
48
</dependencies >
54
49
Original file line number Diff line number Diff line change 52
52
</dependency >
53
53
<dependency >
54
54
<groupId >org.junit.jupiter</groupId >
55
- <artifactId >junit-jupiter-engine</artifactId >
55
+ <artifactId >junit-jupiter-api</artifactId >
56
+ <scope >provided</scope >
56
57
</dependency >
57
58
</dependencies >
58
59
</project >
Original file line number Diff line number Diff line change 63
63
<dependency >
64
64
<groupId >org.junit.jupiter</groupId >
65
65
<artifactId >junit-jupiter-api</artifactId >
66
+ <scope >provided</scope >
66
67
</dependency >
67
68
<dependency >
68
69
<groupId >org.mockito</groupId >
Original file line number Diff line number Diff line change 38
38
<groupId >io.fabric8</groupId >
39
39
<artifactId >openshift-client</artifactId >
40
40
</dependency >
41
+
42
+ <dependency >
43
+ <groupId >org.junit.jupiter</groupId >
44
+ <artifactId >junit-jupiter-api</artifactId >
45
+ <scope >provided</scope >
46
+ </dependency >
41
47
</dependencies >
42
48
</project >
Original file line number Diff line number Diff line change 822
822
<scope >test</scope >
823
823
</dependency >
824
824
825
- <!-- JUnit dependencies, imported as a BOM -->
826
825
<dependency >
827
- <groupId >org.junit</groupId >
828
- <artifactId >junit-bom </artifactId >
826
+ <groupId >org.junit.jupiter </groupId >
827
+ <artifactId >junit-jupiter-api </artifactId >
829
828
<version >${junit.version} </version >
830
- <scope >import</scope >
831
- <type >pom</type >
829
+ <scope >test</scope >
830
+ </dependency >
831
+ <dependency >
832
+ <groupId >org.junit.jupiter</groupId >
833
+ <artifactId >junit-jupiter-engine</artifactId >
834
+ <version >${junit.version} </version >
835
+ <scope >test</scope >
836
+ </dependency >
837
+ <dependency >
838
+ <groupId >org.junit.jupiter</groupId >
839
+ <artifactId >junit-jupiter-migrationsupport</artifactId >
840
+ <version >${junit.version} </version >
841
+ <scope >test</scope >
842
+ </dependency >
843
+ <dependency >
844
+ <groupId >org.junit.jupiter</groupId >
845
+ <artifactId >junit-jupiter-params</artifactId >
846
+ <version >${junit.version} </version >
847
+ <scope >test</scope >
832
848
</dependency >
833
849
834
850
<dependency >
You can’t perform that action at this time.
0 commit comments