This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-antunit.git
The following commit(s) were added to refs/heads/master by this push:
new 65a5c52 CycloneDX Spec prefers .cdx.json
65a5c52 is described below
commit 65a5c52cec0d8f382d7ea1e344d53bf07974d3c8
Author: Stefan Bodewig <[email protected]>
AuthorDate: Fri Jun 19 21:35:31 2026 +0200
CycloneDX Spec prefers .cdx.json
https://cyclonedx.org/specification/overview/#recognized-file-patterns
---
cyclonedx.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cyclonedx.xml b/cyclonedx.xml
index 59e613c..116da8e 100644
--- a/cyclonedx.xml
+++ b/cyclonedx.xml
@@ -37,7 +37,7 @@ under the License.
<target name="create-antlib-sbom"
depends="define-cyclonedx-components,antlib">
<uptodate property="antlib-sbom-ok"
- targetfile="${build.lib}/${artifact.stub}-cyclonedx.json">
+ targetfile="${build.lib}/${artifact.stub}.cdx.json">
<srcresources>
<file file="${jarname}"/>
<file file="ivy.xml"/>
@@ -45,7 +45,7 @@ under the License.
</srcresources>
</uptodate>
<cdx:componentbom
- bomName="${artifact.stub}-cyclonedx"
+ bomName="${artifact.stub}.cdx"
outputdirectory="${build.lib}"
format="all"
useComponentSupplier="true"
@@ -125,7 +125,7 @@ under the License.
<sequential
xmlns:cdx="antlib:org.apache.ant.cyclonedx">
<cdx:componentbom
- bomName="@{archiveName}.cyclonedx"
+ bomName="@{archiveName}.cdx"
outputdirectory="@{outputDirectory}"
format="@{format}"
useComponentManufacturer="@{useComponentManufacturer}"
@@ -243,7 +243,7 @@ under the License.
binarysource="Binary Distribution">
<component>
<sbomLink>
- <file file="${bin.dist.dir}/${artifact.stub}-cyclonedx.json"/>
+ <file file="${bin.dist.dir}/${artifact.stub}.cdx.json"/>
</sbomLink>
<file file="${bin.dist.dir}/${artifact.stub}.jar"/>
</component>