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

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 4042480021802c8ab2e6b5f2d7aaf82df1a06e79
Author: Andy Seaborne <[email protected]>
AuthorDate: Fri May 16 09:17:52 2025 +0100

    Use JUnit4 directly. Ensure test progress is reported.
---
 jena-core/pom.xml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/jena-core/pom.xml b/jena-core/pom.xml
index 76575e746f..c474b6f52e 100644
--- a/jena-core/pom.xml
+++ b/jena-core/pom.xml
@@ -96,7 +96,6 @@
     </dependency>
     -->
 
-    <!-- junit-vintage-engine does not seem to work properly -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
@@ -161,10 +160,19 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
+        <!-- 
+             Choose the provider if necessary. 
+             Necessary if surefire is not reporting during test runs.
+        -->
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.maven.surefire</groupId>
+            <artifactId>surefire-junit47</artifactId>
+            <version>${ver.plugin.surefire}</version>
+          </dependency>
+        </dependencies>
         <configuration>
-          <!--
           <argLine>-javaagent:${org.mockito:mockito-core:jar} 
-Xshare:off</argLine>
-          -->
           <includes>
             <include>org/apache/jena/test/TestPackage_core.java</include>
           </includes>

Reply via email to