Skip to content

Commit 53f4f3d

Browse files
committed
Remove PowerMock from Mockito 4.11.0 modules
Mockito 4.11.0 supports mocking final classes natively and is incompatible with PowerMock 1.7.4. Remove PowerMock from parsing-commons and segment-commons which use Mockito 4.11.0. Keep PowerMock in targeting-engine and tracker which use Mockito 1.10.19. 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 9eb8a43 commit 53f4f3d

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

parsing-commons/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,5 @@
3232
<version>4.11.0</version>
3333
<scope>test</scope>
3434
</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>
45-
<scope>test</scope>
46-
</dependency>
4735
</dependencies>
4836
</project>

segment-commons/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,5 @@
4040
<version>4.11.0</version>
4141
<scope>test</scope>
4242
</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>
53-
<scope>test</scope>
54-
</dependency>
5543
</dependencies>
5644
</project>

0 commit comments

Comments
 (0)