Skip to content

Commit

Permalink
Update pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman authored Nov 6, 2023
1 parent 34b62b6 commit b3b3719
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<jjwt.suite.version>0.11.5</jjwt.suite.version>

<jacoco.surefire.argLine />
<mockito.version>5.5.0</mockito.version>
<surefire.argLine />
</properties>

Expand Down Expand Up @@ -573,7 +574,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.5.0</version>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -614,6 +615,16 @@
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>mockito-jdk8</id>
<activation>
<jdk>(,11)</jdk>
</activation>
<properties>
<!-- Mockito 5.x and above do not support Java 8 or lower -->
<mockito.version>4.11.0</mockito.version>
</properties>
</profile>
<!-- only enable slow-or-flaky-test if -Dtest= is not present -->
<profile>
<id>slow-or-flaky-test</id>
Expand Down

0 comments on commit b3b3719

Please sign in to comment.