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

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


The following commit(s) were added to refs/heads/master by this push:
     new 22d531c  JUnit Jupiter best practices (#489)
22d531c is described below

commit 22d531c201ddc60b6ca686f8b2b4cf32fa7f31d4
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 9 12:51:46 2025 +0100

    JUnit Jupiter best practices (#489)
    
    Co-authored-by: Moderne <[email protected]>
---
 src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 9ac0406..145eadc 100644
--- a/src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
  * @version $Id$
  */
 @MojoTest
-public class JarMojoTest {
+class JarMojoTest {
 
     /**
      * Tests the discovery and configuration of the mojo.
@@ -42,7 +42,7 @@ public class JarMojoTest {
     @Test
     @Basedir("${basedir}/src/test/resources/unit/jar-basic-test")
     @InjectMojo(goal = "jar")
-    public void testJarTestEnvironment(JarMojo mojo) throws Exception {
+    void jarTestEnvironment(JarMojo mojo) throws Exception {
         assertNotNull(mojo);
 
         assertEquals("foo", mojo.getProject().getGroupId());

Reply via email to