You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/11/30 23:30:15 UTC
[maven-invoker-plugin] branch jdk8-updates created (now 78b7e40)
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a change to branch jdk8-updates
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git.
at 78b7e40 Bump mockito-core and commons-io
This branch includes the following new commits:
new 78b7e40 Bump mockito-core and commons-io
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-invoker-plugin] 01/01: Bump mockito-core and commons-io
Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch jdk8-updates
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
commit 78b7e4067c3aff9dd86e9fbe4bdea0ae4e645798
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Nov 30 20:24:36 2021 +0100
Bump mockito-core and commons-io
Since java 8 is available in project we can track the newest versions.
---
pom.xml | 4 ++--
.../org/apache/maven/plugins/invoker/InvokerPropertiesTest.java | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index a0ece81..ba55b82 100644
--- a/pom.xml
+++ b/pom.xml
@@ -226,7 +226,7 @@ under the License.
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.6</version>
+ <version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
@@ -259,7 +259,7 @@ under the License.
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>2.28.2</version>
+ <version>4.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/src/test/java/org/apache/maven/plugins/invoker/InvokerPropertiesTest.java b/src/test/java/org/apache/maven/plugins/invoker/InvokerPropertiesTest.java
index df72222..afd9990 100644
--- a/src/test/java/org/apache/maven/plugins/invoker/InvokerPropertiesTest.java
+++ b/src/test/java/org/apache/maven/plugins/invoker/InvokerPropertiesTest.java
@@ -40,8 +40,8 @@ import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.clearInvocations;
import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.verifyNoInteractions;
import static org.mockito.Mockito.verifyNoMoreInteractions;
-import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.when;
/**
@@ -115,7 +115,7 @@ public class InvokerPropertiesTest
InvokerProperties facade = new InvokerProperties( null );
facade.configureInvocation( request, 0 );
- verifyZeroInteractions( request );
+ verifyNoInteractions( request );
}
@Test
@@ -250,7 +250,7 @@ public class InvokerPropertiesTest
{
assertEquals( "The string 'xxxUnKnown' can not be converted to enumeration.", e.getMessage() );
}
- verifyZeroInteractions( request );
+ verifyNoInteractions( request );
}