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 12:00:14 UTC

[maven-compiler-plugin] 01/01: [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 MCOMPILER-399
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit a201832fdd8b5b9e1ed67ac43b36701edc712e71
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;