Skip to content

Commit 3c9b6f4

Browse files
committed
Standardize all modules on Mockito 1.10.19 with PowerMock 1.7.4
Revert parsing-commons and segment-commons to Mockito 1.10.19 to maintain consistency across all modules. Use PowerMock 1.7.4 in all submodules to enable mocking of final classes like CombiningMatcher. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> AI-Session-Id: c83b3557-2c02-4d13-aaa4-273b7340163d AI-Tool: claude-code AI-Model: unknown
1 parent 53f4f3d commit 3c9b6f4

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

parsing-commons/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,19 @@
2929
<dependency>
3030
<groupId>org.mockito</groupId>
3131
<artifactId>mockito-core</artifactId>
32-
<version>4.11.0</version>
32+
<version>1.10.19</version>
33+
<scope>test</scope>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.powermock</groupId>
37+
<artifactId>powermock-module-junit4</artifactId>
38+
<version>1.7.4</version>
39+
<scope>test</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.powermock</groupId>
43+
<artifactId>powermock-api-mockito</artifactId>
44+
<version>1.7.4</version>
3345
<scope>test</scope>
3446
</dependency>
3547
</dependencies>

segment-commons/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,19 @@
3737
<dependency>
3838
<groupId>org.mockito</groupId>
3939
<artifactId>mockito-core</artifactId>
40-
<version>4.11.0</version>
40+
<version>1.10.19</version>
41+
<scope>test</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.powermock</groupId>
45+
<artifactId>powermock-module-junit4</artifactId>
46+
<version>1.7.4</version>
47+
<scope>test</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.powermock</groupId>
51+
<artifactId>powermock-api-mockito</artifactId>
52+
<version>1.7.4</version>
4153
<scope>test</scope>
4254
</dependency>
4355
</dependencies>

0 commit comments

Comments
 (0)