since CycloneDX Antlib 0.2
propertysets are collections of properties that can be
associated to a component or an SBOM. They can be used as
top-level elements and be given an id so they can be later
referred to via the refid attribute -
see the
Ant manual.
Apart from Ant's id/refid this element doesn't
support any attributes.
Represents a single property to be added to the BOM.
| Attribute | Description | Required |
|---|---|---|
| name | The name of the property. | Yes |
| value | The value of the property. | No |
Below is a set of properties like those required by the BSI TR for EU CRA compatible SBOM components.
<cdx:propertyset
id="antlib-props"
xmlns:cdx="antlib:org.apache.ant.cyclonedx">
<property
name="bsi:component:filename"
value="antlibs-cyclonedx.jar"/>
<property
name="bsi:component:executable"
value="non-executable"/>
<property
name="bsi:component:archive"
value="archive"/>
<property
name="bsi:component:structured"
value="structured"/>
</cdx:propertyset>