Skip to content

Commit 2748f5b

Browse files
committed
Use Mockito 4
1 parent 3ff4cc5 commit 2748f5b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pom.xml

+10-3
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@
143143
<jaxb.version>2.2.7</jaxb.version>
144144
<javax-activation.version>1.1</javax-activation.version>
145145
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
146-
</properties>
146+
<mockito.version>4.3.1</mockito.version>
147+
</properties>
147148

148149
<modules>
149150
<module>japicmp</module>
@@ -167,14 +168,20 @@
167168
</dependency>
168169
<dependency>
169170
<groupId>org.mockito</groupId>
170-
<artifactId>mockito-all</artifactId>
171-
<version>1.10.19</version>
171+
<artifactId>mockito-core</artifactId>
172172
<scope>test</scope>
173173
</dependency>
174174
</dependencies>
175175

176176
<dependencyManagement>
177177
<dependencies>
178+
<dependency>
179+
<groupId>org.mockito</groupId>
180+
<artifactId>mockito-bom</artifactId>
181+
<version>${mockito.version}</version>
182+
<type>pom</type>
183+
<scope>import</scope>
184+
</dependency>
178185
<dependency>
179186
<groupId>org.javassist</groupId>
180187
<artifactId>javassist</artifactId>

0 commit comments

Comments
 (0)