Skip to content

Commit 744088a

Browse files
slfan1989cnauroth
andauthored
HADOOP-19617 - [JDK17] Remove JUnit4 Dependency - Tools. (#7823)
* HADOOP-19617 - [JDK17] Remove JUnit4 Dependency - Tools. Co-authored-by: Chris Nauroth <[email protected]> Reviewed-by: Chris Nauroth <[email protected]> Signed-off-by: Shilun Fan <[email protected]>
1 parent 9d10cc2 commit 744088a

File tree

21 files changed

+5
-179
lines changed

21 files changed

+5
-179
lines changed

hadoop-tools/hadoop-aliyun/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@
9595
</build>
9696

9797
<dependencies>
98-
<dependency>
99-
<groupId>junit</groupId>
100-
<artifactId>junit</artifactId>
101-
<scope>test</scope>
102-
</dependency>
10398

10499
<dependency>
105100
<groupId>com.aliyun.oss</groupId>
@@ -186,10 +181,5 @@
186181
<artifactId>junit-platform-launcher</artifactId>
187182
<scope>test</scope>
188183
</dependency>
189-
<dependency>
190-
<groupId>org.junit.vintage</groupId>
191-
<artifactId>junit-vintage-engine</artifactId>
192-
<scope>test</scope>
193-
</dependency>
194184
</dependencies>
195185
</project>

hadoop-tools/hadoop-archive-logs/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
</properties>
3535

3636
<dependencies>
37-
<dependency>
38-
<groupId>junit</groupId>
39-
<artifactId>junit</artifactId>
40-
<scope>test</scope>
41-
</dependency>
4237
<dependency>
4338
<groupId>org.apache.hadoop</groupId>
4439
<artifactId>hadoop-mapreduce-client-core</artifactId>
@@ -162,11 +157,6 @@
162157
<artifactId>junit-platform-launcher</artifactId>
163158
<scope>test</scope>
164159
</dependency>
165-
<dependency>
166-
<groupId>org.junit.vintage</groupId>
167-
<artifactId>junit-vintage-engine</artifactId>
168-
<scope>test</scope>
169-
</dependency>
170160
</dependencies>
171161

172162
<build>

hadoop-tools/hadoop-archives/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
</properties>
3535

3636
<dependencies>
37-
<dependency>
38-
<groupId>junit</groupId>
39-
<artifactId>junit</artifactId>
40-
<scope>test</scope>
41-
</dependency>
4237
<dependency>
4338
<groupId>org.mockito</groupId>
4439
<artifactId>mockito-inline</artifactId>
@@ -123,11 +118,6 @@
123118
<artifactId>junit-platform-launcher</artifactId>
124119
<scope>test</scope>
125120
</dependency>
126-
<dependency>
127-
<groupId>org.junit.vintage</groupId>
128-
<artifactId>junit-vintage-engine</artifactId>
129-
<scope>test</scope>
130-
</dependency>
131121
</dependencies>
132122

133123
<build>

hadoop-tools/hadoop-azure-datalake/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@
133133
<artifactId>hadoop-common</artifactId>
134134
<scope>provided</scope>
135135
</dependency>
136-
<dependency>
137-
<groupId>junit</groupId>
138-
<artifactId>junit</artifactId>
139-
<scope>test</scope>
140-
</dependency>
141136
<dependency>
142137
<groupId>com.eclipsesource.minimal-json</groupId>
143138
<artifactId>minimal-json</artifactId>
@@ -196,10 +191,5 @@
196191
<artifactId>junit-platform-launcher</artifactId>
197192
<scope>test</scope>
198193
</dependency>
199-
<dependency>
200-
<groupId>org.junit.vintage</groupId>
201-
<artifactId>junit-vintage-engine</artifactId>
202-
<scope>test</scope>
203-
</dependency>
204194
</dependencies>
205195
</project>

hadoop-tools/hadoop-compat-bench/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@
8989
<artifactId>junit-platform-launcher</artifactId>
9090
<scope>test</scope>
9191
</dependency>
92-
<dependency>
93-
<groupId>org.junit.vintage</groupId>
94-
<artifactId>junit-vintage-engine</artifactId>
95-
<scope>test</scope>
96-
</dependency>
9792
</dependencies>
9893

9994
<build>

hadoop-tools/hadoop-datajoin/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
</properties>
3535

3636
<dependencies>
37-
<dependency>
38-
<groupId>junit</groupId>
39-
<artifactId>junit</artifactId>
40-
<scope>test</scope>
41-
</dependency>
4237
<dependency>
4338
<groupId>org.mockito</groupId>
4439
<artifactId>mockito-inline</artifactId>
@@ -129,11 +124,6 @@
129124
<artifactId>junit-platform-launcher</artifactId>
130125
<scope>test</scope>
131126
</dependency>
132-
<dependency>
133-
<groupId>org.junit.vintage</groupId>
134-
<artifactId>junit-vintage-engine</artifactId>
135-
<scope>test</scope>
136-
</dependency>
137127
</dependencies>
138128

139129
<build>

hadoop-tools/hadoop-distcp/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
</properties>
3636

3737
<dependencies>
38-
<dependency>
39-
<groupId>junit</groupId>
40-
<artifactId>junit</artifactId>
41-
<scope>test</scope>
42-
</dependency>
4338
<dependency>
4439
<groupId>org.apache.hadoop</groupId>
4540
<artifactId>hadoop-common</artifactId>
@@ -140,11 +135,6 @@
140135
<artifactId>junit-platform-launcher</artifactId>
141136
<scope>test</scope>
142137
</dependency>
143-
<dependency>
144-
<groupId>org.junit.vintage</groupId>
145-
<artifactId>junit-vintage-engine</artifactId>
146-
<scope>test</scope>
147-
</dependency>
148138
</dependencies>
149139

150140
<build>

hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-blockgen/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
<artifactId>mockito-inline</artifactId>
4040
<scope>test</scope>
4141
</dependency>
42-
<dependency>
43-
<groupId>junit</groupId>
44-
<artifactId>junit</artifactId>
45-
<scope>test</scope>
46-
</dependency>
4742
<dependency>
4843
<groupId>org.apache.hadoop</groupId>
4944
<artifactId>hadoop-minicluster</artifactId>
@@ -69,11 +64,6 @@
6964
<artifactId>junit-platform-launcher</artifactId>
7065
<scope>test</scope>
7166
</dependency>
72-
<dependency>
73-
<groupId>org.junit.vintage</groupId>
74-
<artifactId>junit-vintage-engine</artifactId>
75-
<scope>test</scope>
76-
</dependency>
7767
</dependencies>
7868

7969
<build>

hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@
122122
<artifactId>junit-platform-launcher</artifactId>
123123
<scope>test</scope>
124124
</dependency>
125-
<dependency>
126-
<groupId>org.junit.vintage</groupId>
127-
<artifactId>junit-vintage-engine</artifactId>
128-
<scope>test</scope>
129-
</dependency>
130125
</dependencies>
131126

132127
<build>

hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-workload/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
<artifactId>hadoop-client</artifactId>
3535
<scope>compile</scope>
3636
</dependency>
37-
<dependency>
38-
<groupId>junit</groupId>
39-
<artifactId>junit</artifactId>
40-
<scope>test</scope>
41-
</dependency>
4237
<dependency>
4338
<groupId>org.mockito</groupId>
4439
<artifactId>mockito-inline</artifactId>
@@ -69,11 +64,6 @@
6964
<artifactId>junit-platform-launcher</artifactId>
7065
<scope>test</scope>
7166
</dependency>
72-
<dependency>
73-
<groupId>org.junit.vintage</groupId>
74-
<artifactId>junit-vintage-engine</artifactId>
75-
<scope>test</scope>
76-
</dependency>
7767
</dependencies>
7868

7969
<build>

0 commit comments

Comments
 (0)