diff --git a/pom.xml b/pom.xml index 8bf2a43249..247823c955 100644 --- a/pom.xml +++ b/pom.xml @@ -263,7 +263,7 @@ org.mockito mockito-core - 3.12.4 + 4.1.0 test diff --git a/src/test/java/org/codehaus/mojo/versions/RequiredMavenVersionFinderTest.java b/src/test/java/org/codehaus/mojo/versions/RequiredMavenVersionFinderTest.java index f852d255ad..45176ee755 100644 --- a/src/test/java/org/codehaus/mojo/versions/RequiredMavenVersionFinderTest.java +++ b/src/test/java/org/codehaus/mojo/versions/RequiredMavenVersionFinderTest.java @@ -10,7 +10,7 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; -import org.mockito.runners.MockitoJUnitRunner; +import org.mockito.junit.MockitoJUnitRunner; import java.util.ArrayList;