This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch maven-jar-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git
The following commit(s) were added to refs/heads/maven-jar-plugin-3.x by this
push:
new 0beb969 Use maven-plugin-testing-harness version 3.4.0
0beb969 is described below
commit 0beb969f0d3b4d88348e8b4a03b0fef40f7b87af
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sun Nov 9 13:09:41 2025 +0100
Use maven-plugin-testing-harness version 3.4.0
---
.github/dependabot.yml | 4 +---
pom.xml | 7 +------
src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java | 4 ++--
3 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index d7c9cd4..0bcb6fd 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -21,9 +21,7 @@ updates:
directory: "/"
schedule:
interval: "daily"
- ignore:
- # Ignore Maven Core updates
- - dependency-name: "org.apache.maven:*"
+
- package-ecosystem: "github-actions"
directory: "/"
schedule:
diff --git a/pom.xml b/pom.xml
index 502769a..542467d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,7 +158,7 @@
<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>
@@ -173,11 +173,6 @@
<version>4.11.0</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-xml</artifactId>
- <scope>test</scope>
- </dependency>
</dependencies>
<build>
diff --git a/src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
b/src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
index b8b57e8..e3f73fa 100644
--- a/src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
@@ -18,8 +18,8 @@
*/
package org.apache.maven.plugins.jar;
-import org.apache.maven.plugin.testing.junit5.InjectMojo;
-import org.apache.maven.plugin.testing.junit5.MojoTest;
+import org.apache.maven.api.plugin.testing.InjectMojo;
+import org.apache.maven.api.plugin.testing.MojoTest;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;