CycloneDX Spec prefers .cdx.json
https://cyclonedx.org/specification/overview/#recognized-file-patterns
This commit is contained in:
parent
3b1b4e4237
commit
65a5c52cec
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue