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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e4f5c026 Add JaCoCo reports to site generation
1e4f5c026 is described below

commit 1e4f5c026df16300e3e0f60061aa077f06df4c2c
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 22 12:50:41 2025 +0000

    Add JaCoCo reports to site generation
    
    - Use @{argLine} with Surefire
    - Add jacoco.profile files to code modules
---
 .../src}/site/resources/profile.jacoco                  |   0
 commons-vfs2-hdfs/pom.xml                               |   2 +-
 .../src}/site/resources/profile.jacoco                  |   0
 .../src}/site/resources/profile.jacoco                  |   0
 .../src}/site/resources/profile.jacoco                  |   0
 commons-vfs2/src/site/resources/download_vfs.cgi        |   4 ++++
 commons-vfs2/src/site/resources/images/logo.png         | Bin 0 -> 11671 bytes
 pom.xml                                                 |   6 +++---
 8 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/site/resources/profile.jacoco 
b/commons-vfs2-ant/src/site/resources/profile.jacoco
similarity index 100%
copy from src/site/resources/profile.jacoco
copy to commons-vfs2-ant/src/site/resources/profile.jacoco
diff --git a/commons-vfs2-hdfs/pom.xml b/commons-vfs2-hdfs/pom.xml
index e5d37f428..f28b8fc76 100644
--- a/commons-vfs2-hdfs/pom.xml
+++ b/commons-vfs2-hdfs/pom.xml
@@ -192,7 +192,7 @@
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-              <argLine>-Djava.security.manager=allow</argLine>
+              <argLine>@{argLine} -Djava.security.manager=allow</argLine>
              </configuration>
           </plugin>
         </plugins>
diff --git a/src/site/resources/profile.jacoco 
b/commons-vfs2-hdfs/src/site/resources/profile.jacoco
similarity index 100%
copy from src/site/resources/profile.jacoco
copy to commons-vfs2-hdfs/src/site/resources/profile.jacoco
diff --git a/src/site/resources/profile.jacoco 
b/commons-vfs2-jackrabbit1/src/site/resources/profile.jacoco
similarity index 100%
copy from src/site/resources/profile.jacoco
copy to commons-vfs2-jackrabbit1/src/site/resources/profile.jacoco
diff --git a/src/site/resources/profile.jacoco 
b/commons-vfs2-jackrabbit2/src/site/resources/profile.jacoco
similarity index 100%
rename from src/site/resources/profile.jacoco
rename to commons-vfs2-jackrabbit2/src/site/resources/profile.jacoco
diff --git a/commons-vfs2/src/site/resources/download_vfs.cgi 
b/commons-vfs2/src/site/resources/download_vfs.cgi
new file mode 100755
index 000000000..495cde12d
--- /dev/null
+++ b/commons-vfs2/src/site/resources/download_vfs.cgi
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file
diff --git a/commons-vfs2/src/site/resources/images/logo.png 
b/commons-vfs2/src/site/resources/images/logo.png
new file mode 100644
index 000000000..0690d05f3
Binary files /dev/null and b/commons-vfs2/src/site/resources/images/logo.png 
differ
diff --git a/pom.xml b/pom.xml
index 677e7c25a..1652cc384 100644
--- a/pom.xml
+++ b/pom.xml
@@ -232,7 +232,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-            <argLine>-Xmx64m</argLine>
+            <argLine>@{argLine} -Xmx64m</argLine>
         </configuration>
       </plugin>
       <plugin>
@@ -630,8 +630,8 @@
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
               <!-- For AbstractTestSuite output of debug information. -->
-              <!-- ${argLine} must be there for JaCoCo. -->
-              <argLine>${argLine} --add-opens 
java.base/java.lang=ALL-UNNAMED</argLine>
+              <!-- @{argLine} must be there for JaCoCo. -->
+              <argLine>@{argLine} --add-opens 
java.base/java.lang=ALL-UNNAMED</argLine>
             </configuration>
           </plugin>
         </plugins>

Reply via email to