You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2019/12/01 11:31:46 UTC
[maven-compiler-plugin] 02/02: [MCOMPILER-399] Upgrade mockito from
1.9.5 to 2.28.2
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch rhowe-upgrade-mockito
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit 456440c74c9f92f92924b620199043dd3d41beed
Author: Russell Howe <rh...@siksai.co.uk>
AuthorDate: Wed Sep 25 07:55:59 2019 +0100
[MCOMPILER-399] Upgrade mockito from 1.9.5 to 2.28.2
---
pom.xml | 2 +-
.../java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 863192b..00e694e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -182,7 +182,7 @@ under the License.
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>1.9.5</version>
+ <version>2.28.2</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java
index 348cfb0..b1282d5 100644
--- a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java
+++ b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java
@@ -19,7 +19,7 @@ package org.apache.maven.plugin.compiler;
* under the License.
*/
-import static org.mockito.Matchers.startsWith;
+import static org.mockito.ArgumentMatchers.startsWith;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;