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

asf-gitbox-commits pushed a commit to branch cyclonedx
in repository https://gitbox.apache.org/repos/asf/ant.git

commit d005350a54ccb0263084770477ad3e8cec9b2445
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sun May 24 11:02:53 2026 +0200

    I must admit I no longer know why there is ant-junit and ant-junit4
---
 build.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/build.xml b/build.xml
index b66861cbf..f46cb8482 100644
--- a/build.xml
+++ b/build.xml
@@ -2412,11 +2412,20 @@ ${antunit.reports}
       <additionalComponent refid="cdx-hamcrest"/>
     </optional-sbom>
 
+    <cdx:component
+        id="cdx-junit4"
+        refid="cdx-junit"
+        xmlns:cdx="antlib:org.apache.ant.cyclonedx"/>
+    <optional-sbom dep="junit4" nameSuffix="+ JUnit 4">
+      <additionalComponent refid="cdx-hamcrest"/>
+    </optional-sbom>
+
     <cdx:component
         id="cdx-netrexx"
         bomRef="https://www.netrexx.org/files/NetRexxC-${netrexx.version}.jar";
         name="netrexx"
         version="${netrexx.version}"
+        unknownDependencies="true"
         xmlns:cdx="antlib:org.apache.ant.cyclonedx">
       <license licenseId="ICU">
         <url url="https://github.com/RexxLA/NetRexx/blob/master/LICENSE"/>

Reply via email to