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 2024/10/15 18:02:44 UTC

(maven-artifact-plugin) 01/01: Migrate to JUnit 5

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch junit5
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git

commit 16fe1b829660382f1084e4270a76d2b9c17e9f2b
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Oct 15 20:02:36 2024 +0200

    Migrate to JUnit 5
---
 pom.xml                                                              | 5 ++---
 .../artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java  | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 22cc28f..b69740f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,9 +155,8 @@
       <scope>test</scope>
     </dependency>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.13.2</version>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-api</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java b/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
index fad622b..fb95d33 100644
--- a/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
+++ b/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
@@ -23,7 +23,7 @@ import java.io.IOException;
 import java.nio.charset.StandardCharsets;
 import java.nio.file.Files;
 
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 
 /**
  * Test class to generate {@code target/generated-site/apt/plugin-issues.apt} with content extracted from