This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch maven-clean-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-clean-plugin.git
The following commit(s) were added to refs/heads/maven-clean-plugin-3.x by this
push:
new b8df608 Use maven-plugin-testing-harness 3.4.0
b8df608 is described below
commit b8df6087a185ea040a7b3f9ca07f322917f375ee
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sat Nov 8 14:06:31 2025 +0100
Use maven-plugin-testing-harness 3.4.0
---
pom.xml | 8 +-------
src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java | 8 ++++----
2 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index df5bc6f..bc95309 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
- <version>4.0.0-alpha-2</version>
+ <version>3.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -117,12 +117,6 @@ under the License.
<version>4.11.0</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-testing</artifactId>
- <version>1.7.0</version>
- <scope>test</scope>
- </dependency>
</dependencies>
<profiles>
diff --git a/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java
b/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java
index 9fbf98f..2b3cd43 100644
--- a/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java
@@ -29,17 +29,17 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
+import org.apache.maven.api.plugin.testing.InjectMojo;
+import org.apache.maven.api.plugin.testing.MojoTest;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.logging.SystemStreamLog;
-import org.apache.maven.plugin.testing.junit5.InjectMojo;
-import org.apache.maven.plugin.testing.junit5.MojoTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
-import static
org.apache.maven.plugin.testing.junit5.MojoExtension.setVariableValueToObject;
-import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
+import static org.apache.maven.api.plugin.testing.MojoExtension.getBasedir;
+import static
org.apache.maven.api.plugin.testing.MojoExtension.setVariableValueToObject;
import static org.codehaus.plexus.util.IOUtil.copy;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;