Skip to content

Commit 712302a

Browse files
Update dependencies
1 parent 8e5f5d4 commit 712302a

1 file changed

Lines changed: 28 additions & 11 deletions

File tree

pom.xml

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
<maven.compiler.target>1.8</maven.compiler.target>
5151
<slf4j.version>2.0.17</slf4j.version>
5252
<jackson.version>2.21.2</jackson.version>
53+
<junit.version>5.9.3</junit.version>
54+
<mockito.version>4.11.0</mockito.version>
5355
</properties>
5456

5557
<build>
@@ -130,7 +132,7 @@
130132
<plugin>
131133
<groupId>org.apache.maven.plugins</groupId>
132134
<artifactId>maven-surefire-plugin</artifactId>
133-
<version>3.5.4</version>
135+
<version>3.5.5</version>
134136
<configuration>
135137
<argLine>@{argLine} -Duser.timezone=UTC</argLine>
136138
<excludes>
@@ -188,6 +190,21 @@
188190
</plugins>
189191
</build>
190192

193+
<profiles>
194+
<profile>
195+
<id>java11plus</id>
196+
<activation>
197+
<jdk>[11,)</jdk>
198+
</activation>
199+
<properties>
200+
<maven.compiler.source>11</maven.compiler.source>
201+
<maven.compiler.target>11</maven.compiler.target>
202+
<junit.version>5.14.3</junit.version>
203+
<mockito.version>5.23.0</mockito.version>
204+
</properties>
205+
</profile>
206+
</profiles>
207+
191208
<dependencies>
192209
<dependency>
193210
<groupId>org.bitcoinj</groupId>
@@ -218,7 +235,7 @@
218235
<dependency>
219236
<groupId>org.apache.httpcomponents.core5</groupId>
220237
<artifactId>httpcore5</artifactId>
221-
<version>5.4.1</version>
238+
<version>5.4.2</version>
222239
</dependency>
223240
<dependency>
224241
<groupId>org.apache.httpcomponents</groupId>
@@ -255,30 +272,30 @@
255272
<artifactId>slf4j-simple</artifactId>
256273
<version>${slf4j.version}</version>
257274
</dependency>
275+
<dependency>
276+
<groupId>org.junit.jupiter</groupId>
277+
<artifactId>junit-jupiter-api</artifactId>
278+
<version>${junit.version}</version>
279+
<scope>test</scope>
280+
</dependency>
258281
<dependency>
259282
<groupId>org.junit.jupiter</groupId>
260283
<artifactId>junit-jupiter-engine</artifactId>
261-
<version>5.14.3</version>
284+
<version>${junit.version}</version>
262285
<scope>test</scope>
263286
</dependency>
264287
<dependency>
265288
<groupId>org.mockito</groupId>
266289
<artifactId>mockito-core</artifactId>
267-
<version>4.11.0</version>
290+
<version>${mockito.version}</version>
268291
<scope>test</scope>
269292
</dependency>
270293
<dependency>
271294
<groupId>org.mockito</groupId>
272295
<artifactId>mockito-junit-jupiter</artifactId>
273-
<version>4.11.0</version>
296+
<version>${mockito.version}</version>
274297
<scope>test</scope>
275298
</dependency>
276-
<!-- Support Mockito 4.x for Java 21 -->
277-
<dependency>
278-
<groupId>net.bytebuddy</groupId>
279-
<artifactId>byte-buddy</artifactId>
280-
<version>1.18.1</version>
281-
</dependency>
282299
<dependency>
283300
<groupId>commons-io</groupId>
284301
<artifactId>commons-io</artifactId>

0 commit comments

Comments
 (0)