Skip to content

Commit

Permalink
feat: bump mockito version to latest and use bom
Browse files Browse the repository at this point in the history
BREAKING CHANGE: use latest version of mockito 5.1.1
  • Loading branch information
phiz71 committed Feb 28, 2023
1 parent 0e47fa3 commit 4eea63f
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@
<jetty.version>9.4.44.v20210927</jetty.version>
<junit.version>4.13.2</junit.version>
<junit-jupiter.version>5.9.2</junit-jupiter.version>
<mockito-junit-jupiter.version>3.12.4</mockito-junit-jupiter.version>
<logback.version>1.2.11</logback.version>
<logback-json.version>0.1.5</logback-json.version>
<mockito.version>3.11.2</mockito.version>
<mockito.version>5.1.1</mockito.version>
<netty.version>4.1.87.Final</netty.version>
<reactive-streams.version>1.0.4</reactive-streams.version>
<rxjava2.version>2.2.21</rxjava2.version>
Expand Down Expand Up @@ -155,6 +154,14 @@
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>${mockito.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down Expand Up @@ -246,12 +253,6 @@
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito-junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand All @@ -264,6 +265,18 @@
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>

0 comments on commit 4eea63f

Please sign in to comment.