Skip to content

Commit

Permalink
Allow unit tests to run under Java 21+, upgrade Mockito and some othe…
Browse files Browse the repository at this point in the history
…r libraries.
  • Loading branch information
causalnet committed May 11, 2024
1 parent a5fd8db commit dde539c
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
<maven.version>3.8.6</maven.version>
<java.version>11</java.version>

<jackson.version>2.13.3</jackson.version>

<!-- Recent enough so that it can run with all the way up to JDK 19 -->
<invoker.groovy.version>3.0.13</invoker.groovy.version>

Expand All @@ -39,7 +37,35 @@
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.9.0</version>
<version>5.10.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>5.11.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-bom</artifactId>
<version>3.25.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-bom</artifactId>
<version>33.2.0-jre</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>2.17.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -93,7 +119,6 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
</dependency>

<dependency>
Expand All @@ -111,12 +136,10 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
Expand All @@ -132,7 +155,6 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.23.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -144,7 +166,6 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit dde539c

Please sign in to comment.