[MNG-7766] - Migrate to use mockito-bom 4.11.0

This commit is contained in:
Karl Heinz Marbaise 2023-04-15 18:43:30 +02:00
parent c49c4e0b18
commit 5c750eacb4
No known key found for this signature in database
GPG Key ID: BF1518E0160788A2
2 changed files with 9 additions and 8 deletions

View File

@ -37,7 +37,7 @@ import org.mockito.MockitoAnnotations;
import org.slf4j.Logger;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Matchers.isA;
import static org.mockito.ArgumentMatchers.isA;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

15
pom.xml
View File

@ -154,7 +154,7 @@ under the License.
<commonsIoVersion>2.11.0</commonsIoVersion>
<commonsLangVersion>3.12.0</commonsLangVersion>
<junitVersion>5.9.1</junitVersion>
<mockitoVersion>3.2.0</mockitoVersion>
<mockitoVersion>4.11.0</mockitoVersion>
<plexusVersion>2.1.0</plexusVersion>
<plexusInterpolationVersion>1.26</plexusInterpolationVersion>
<plexusUtilsVersion>4.0.0-alpha-6-SNAPSHOT</plexusUtilsVersion>
@ -417,12 +417,6 @@ under the License.
<artifactId>plexus-cipher</artifactId>
<version>${cipherVersion}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockitoVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj</artifactId>
@ -466,6 +460,13 @@ under the License.
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>${mockitoVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
<!--bootstrap-start-comment-->
</dependencyManagement>