Skip to content

Commit 1eaab74

Browse files
committed
RATIS-2322. Fix Compile Error.
1 parent 936c5b0 commit 1eaab74

File tree

8 files changed

+66
-21
lines changed

8 files changed

+66
-21
lines changed

ratis-client/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,16 @@
4747
<groupId>org.slf4j</groupId>
4848
<artifactId>slf4j-api</artifactId>
4949
</dependency>
50+
51+
<dependency>
52+
<groupId>org.junit.jupiter</groupId>
53+
<artifactId>junit-jupiter-engine</artifactId>
54+
<scope>test</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.junit.platform</groupId>
58+
<artifactId>junit-platform-launcher</artifactId>
59+
<scope>test</scope>
60+
</dependency>
5061
</dependencies>
5162
</project>

ratis-docs/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
3333
</properties>
3434

3535
<dependencies>
36-
<dependency>
37-
<groupId>org.junit.jupiter</groupId>
38-
<artifactId>junit-jupiter-api</artifactId>
39-
<scope>test</scope>
40-
</dependency>
4136
<dependency>
4237
<groupId>org.junit.jupiter</groupId>
4338
<artifactId>junit-jupiter-engine</artifactId>
@@ -48,11 +43,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
4843
<artifactId>junit-platform-launcher</artifactId>
4944
<scope>test</scope>
5045
</dependency>
51-
<dependency>
52-
<groupId>org.junit.jupiter</groupId>
53-
<artifactId>junit-jupiter-params</artifactId>
54-
<scope>test</scope>
55-
</dependency>
5646
</dependencies>
5747

5848
</project>

ratis-metrics-api/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,16 @@
3939
<groupId>org.slf4j</groupId>
4040
<artifactId>slf4j-api</artifactId>
4141
</dependency>
42+
43+
<dependency>
44+
<groupId>org.junit.jupiter</groupId>
45+
<artifactId>junit-jupiter-engine</artifactId>
46+
<scope>test</scope>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.junit.platform</groupId>
50+
<artifactId>junit-platform-launcher</artifactId>
51+
<scope>test</scope>
52+
</dependency>
4253
</dependencies>
4354
</project>

ratis-netty/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,16 @@
7878
<artifactId>slf4j-api</artifactId>
7979
</dependency>
8080

81+
<dependency>
82+
<groupId>org.junit.jupiter</groupId>
83+
<artifactId>junit-jupiter-engine</artifactId>
84+
<scope>test</scope>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.junit.platform</groupId>
88+
<artifactId>junit-platform-launcher</artifactId>
89+
<scope>test</scope>
90+
</dependency>
91+
8192
</dependencies>
8293
</project>

ratis-proto/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,6 @@
179179
<groupId>jakarta.annotation</groupId>
180180
<artifactId>jakarta.annotation-api</artifactId>
181181
</dependency>
182-
<dependency>
183-
<groupId>org.junit.jupiter</groupId>
184-
<artifactId>junit-jupiter-api</artifactId>
185-
<scope>test</scope>
186-
</dependency>
187182
<dependency>
188183
<groupId>org.junit.jupiter</groupId>
189184
<artifactId>junit-jupiter-engine</artifactId>
@@ -194,10 +189,5 @@
194189
<artifactId>junit-platform-launcher</artifactId>
195190
<scope>test</scope>
196191
</dependency>
197-
<dependency>
198-
<groupId>org.junit.jupiter</groupId>
199-
<artifactId>junit-jupiter-params</artifactId>
200-
<scope>test</scope>
201-
</dependency>
202192
</dependencies>
203193
</project>

ratis-resource-bundle/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,18 @@
3636
<maven.test.skip>true</maven.test.skip>
3737
</properties>
3838
<!-- hack until we break things out into a project pom and parent pom -->
39-
<dependencies/>
39+
<dependencies>
40+
<dependency>
41+
<groupId>org.junit.jupiter</groupId>
42+
<artifactId>junit-jupiter-engine</artifactId>
43+
<scope>test</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.junit.platform</groupId>
47+
<artifactId>junit-platform-launcher</artifactId>
48+
<scope>test</scope>
49+
</dependency>
50+
</dependencies>
4051
<build>
4152
<plugins>
4253
<plugin>

ratis-shell/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@
5353
<groupId>org.slf4j</groupId>
5454
<artifactId>slf4j-simple</artifactId>
5555
</dependency>
56+
57+
<dependency>
58+
<groupId>org.junit.jupiter</groupId>
59+
<artifactId>junit-jupiter-engine</artifactId>
60+
<scope>test</scope>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.junit.platform</groupId>
64+
<artifactId>junit-platform-launcher</artifactId>
65+
<scope>test</scope>
66+
</dependency>
5667
</dependencies>
5768
<build>
5869
<plugins>

ratis-tools/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,15 @@
4141
<groupId>org.apache.ratis</groupId>
4242
<artifactId>ratis-common</artifactId>
4343
</dependency>
44+
<dependency>
45+
<groupId>org.junit.jupiter</groupId>
46+
<artifactId>junit-jupiter-engine</artifactId>
47+
<scope>test</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.junit.platform</groupId>
51+
<artifactId>junit-platform-launcher</artifactId>
52+
<scope>test</scope>
53+
</dependency>
4454
</dependencies>
4555
</project>

0 commit comments

Comments
 (0)