You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sp...@apache.org on 2025/10/21 06:18:51 UTC
(maven-invoker-plugin) branch master updated: chore: delete junit 3 references (#688)
This is an automated email from the ASF dual-hosted git repository.
sparsick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new ed4ad83 chore: delete junit 3 references (#688)
ed4ad83 is described below
commit ed4ad83250f19ec91be7e55e373ba9f694186789
Author: Sandra Parsick <sp...@users.noreply.github.com>
AuthorDate: Tue Oct 21 06:18:46 2025 +0000
chore: delete junit 3 references (#688)
---
.../postbuild-executed-only-once/src/it/project/pom.xml | 16 ++++++++--------
.../invoker/it/post_executed_only_once/AppTest.java | 15 ++++++---------
2 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/src/it/postbuild-executed-only-once/src/it/project/pom.xml b/src/it/postbuild-executed-only-once/src/it/project/pom.xml
index 1f0fb33..969aa31 100644
--- a/src/it/postbuild-executed-only-once/src/it/project/pom.xml
+++ b/src/it/postbuild-executed-only-once/src/it/project/pom.xml
@@ -34,14 +34,14 @@ under the License.
<create_touch_file>false</create_touch_file>
</properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>5.14.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
<build>
<pluginManagement>
diff --git a/src/it/postbuild-executed-only-once/src/it/project/src/test/java/org/apache/maven/plugins/invoker/it/post_executed_only_once/AppTest.java b/src/it/postbuild-executed-only-once/src/it/project/src/test/java/org/apache/maven/plugins/invoker/it/post_executed_only_once/AppTest.java
index e388290..a14e683 100644
--- a/src/it/postbuild-executed-only-once/src/it/project/src/test/java/org/apache/maven/plugins/invoker/it/post_executed_only_once/AppTest.java
+++ b/src/it/postbuild-executed-only-once/src/it/project/src/test/java/org/apache/maven/plugins/invoker/it/post_executed_only_once/AppTest.java
@@ -19,17 +19,14 @@ package org.apache.maven.plugins.invoker.it.post_executed_only_once;
* under the License.
*/
-import junit.framework.TestCase;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-public class AppTest
- extends TestCase
-{
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+public class AppTest {
@Test
- public void testApp()
- throws Exception
- {
+ public void testApp() throws Exception {
new App().createFile();
assertTrue( true );
}
-}
+}
\ No newline at end of file