This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-cyclonedx.git
The following commit(s) were added to refs/heads/main by this push:
new da8b68f more links for the CycloneDX Antlib itself
da8b68f is described below
commit da8b68f81f7ea2af0e751c2fdc27f9b247670312
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sat May 9 10:05:18 2026 +0200
more links for the CycloneDX Antlib itself
---
examples/ant-cyclonedx-0.1alpha-cyclonedx.json | 72 ++++++++++++++++++-------
examples/ant-cyclonedx-0.1alpha-cyclonedx.xml | 63 +++++++++++++++-------
src/main/org/apache/ant/cyclonedx/ToolData.java | 16 ++++++
src/tests/antunit/componentbom-test.xml | 15 ++++++
4 files changed, 130 insertions(+), 36 deletions(-)
diff --git a/examples/ant-cyclonedx-0.1alpha-cyclonedx.json
b/examples/ant-cyclonedx-0.1alpha-cyclonedx.json
index cd77c27..bb6d635 100644
--- a/examples/ant-cyclonedx-0.1alpha-cyclonedx.json
+++ b/examples/ant-cyclonedx-0.1alpha-cyclonedx.json
@@ -1,10 +1,10 @@
{
"bomFormat" : "CycloneDX",
"specVersion" : "1.6",
- "serialNumber" : "urn:uuid:b102ed07-8561-4e8d-9124-2fbaeda2af87",
+ "serialNumber" : "urn:uuid:646a5858-6d5a-41ef-89f2-5640aaf30cdd",
"version" : 1,
"metadata" : {
- "timestamp" : "2026-05-08T19:48:59Z",
+ "timestamp" : "2026-05-09T08:04:37Z",
"lifecycles" : [
{
"phase" : "build"
@@ -34,35 +34,35 @@
"hashes" : [
{
"alg" : "MD5",
- "content" : "cd60dca84b42bad257fd776c541a937d"
+ "content" : "0a399d9079aaabff62080f089e80afa2"
},
{
"alg" : "SHA-1",
- "content" : "f27f9d1e378987673e96868fab2c64ff076310c7"
+ "content" : "d9ec5e2da210f4671b283a9c52606c438a10868c"
},
{
"alg" : "SHA-256",
- "content" :
"ad7490c23be951353bfdc299269816c87c680f2b08a0461d55bde3689d291234"
+ "content" :
"8245ac667a63f1cb3c63c57232cbf1b0b8ff0fc833f0e182893b8d41ba57a986"
},
{
"alg" : "SHA-512",
- "content" :
"80784ae9b36496e7b5a70e91dfe0280d3437d79a211e2a6b8f761b77f0407494752ecbee9e7b6d5a2c014e04b7069b4dfc36a684fb9a11c982c59913d7ff97e6"
+ "content" :
"e0aaf2736ab7c4920bcf3e7c83d2787abb5eefc45c79ab7d030039ef3e60db3eea087e7c1d66970040375982ebfec16c5467c359fd40dd00d1e977e8095de564"
},
{
"alg" : "SHA3-256",
- "content" :
"1c6387b9e32013e79dfb420bc005e6dff736546152a95bbd6673b07a413b78f7"
+ "content" :
"9d886110a2d0b56053dfb6c279a2ccfb1ffc6a9577db6cc836d81799eb60b8d3"
},
{
"alg" : "SHA3-512",
- "content" :
"f57f015857b33731781a646b5131037897dc23f2e1a9e202984d5ac9a484d3843bbc9e1216aee46b4a36da213323f2d1f0f79dfa1e69f788d7bc538adfad9bc1"
+ "content" :
"db4702ac4434235d939775edd3869b27987d3a7c057f93642af462713396c4b3f84971797534f7a9cecb71f8b29870defec7842dee60ae15f4e58ebefa93a710"
},
{
"alg" : "SHA-384",
- "content" :
"e93b7acd21cbb36b41b273582b4c3a58828d0e908261549fdef3da0ebdce4e573cfd65e0406c0186cb6d8e76552347c3"
+ "content" :
"3ebd7c73a900e0009bf7fc7f139c211662c98e241698a30d2b1bc12749c172f06cd63850dbf78b549c882d4c045dfe35"
},
{
"alg" : "SHA3-384",
- "content" :
"241ac570fb9fc5e5ba1b7362df02167d214be3e7e6e371fe90ce4312bf63c7cd5ba3d988b5bd276040e94a4fdc23464c"
+ "content" :
"b24842345675c75f0ae625a1d7a1a6e202b8adfba7e623864309c7e5851461ac077301aaff97e9257439ff4d3dd068c2"
}
],
"licenses" : [
@@ -82,6 +82,22 @@
{
"type" : "license",
"url" : "https://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ {
+ "type" : "build-system",
+ "url" :
"https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/"
+ },
+ {
+ "type" : "mailing-list",
+ "url" : "https://ant.apache.org/mail.html"
+ },
+ {
+ "type" : "issue-tracker",
+ "url" :
"https://bz.apache.org/bugzilla/buglist.cgi?component=CycloneDX%20Antlib&product=Ant"
+ },
+ {
+ "type" : "website",
+ "url" : "https://ant.apache.org/antlibs/cyclonedx/"
}
]
}
@@ -110,35 +126,35 @@
"hashes" : [
{
"alg" : "MD5",
- "content" : "cd60dca84b42bad257fd776c541a937d"
+ "content" : "0a399d9079aaabff62080f089e80afa2"
},
{
"alg" : "SHA-1",
- "content" : "f27f9d1e378987673e96868fab2c64ff076310c7"
+ "content" : "d9ec5e2da210f4671b283a9c52606c438a10868c"
},
{
"alg" : "SHA-256",
- "content" :
"ad7490c23be951353bfdc299269816c87c680f2b08a0461d55bde3689d291234"
+ "content" :
"8245ac667a63f1cb3c63c57232cbf1b0b8ff0fc833f0e182893b8d41ba57a986"
},
{
"alg" : "SHA-512",
- "content" :
"80784ae9b36496e7b5a70e91dfe0280d3437d79a211e2a6b8f761b77f0407494752ecbee9e7b6d5a2c014e04b7069b4dfc36a684fb9a11c982c59913d7ff97e6"
+ "content" :
"e0aaf2736ab7c4920bcf3e7c83d2787abb5eefc45c79ab7d030039ef3e60db3eea087e7c1d66970040375982ebfec16c5467c359fd40dd00d1e977e8095de564"
},
{
"alg" : "SHA3-256",
- "content" :
"1c6387b9e32013e79dfb420bc005e6dff736546152a95bbd6673b07a413b78f7"
+ "content" :
"9d886110a2d0b56053dfb6c279a2ccfb1ffc6a9577db6cc836d81799eb60b8d3"
},
{
"alg" : "SHA3-512",
- "content" :
"f57f015857b33731781a646b5131037897dc23f2e1a9e202984d5ac9a484d3843bbc9e1216aee46b4a36da213323f2d1f0f79dfa1e69f788d7bc538adfad9bc1"
+ "content" :
"db4702ac4434235d939775edd3869b27987d3a7c057f93642af462713396c4b3f84971797534f7a9cecb71f8b29870defec7842dee60ae15f4e58ebefa93a710"
},
{
"alg" : "SHA-384",
- "content" :
"e93b7acd21cbb36b41b273582b4c3a58828d0e908261549fdef3da0ebdce4e573cfd65e0406c0186cb6d8e76552347c3"
+ "content" :
"3ebd7c73a900e0009bf7fc7f139c211662c98e241698a30d2b1bc12749c172f06cd63850dbf78b549c882d4c045dfe35"
},
{
"alg" : "SHA3-384",
- "content" :
"241ac570fb9fc5e5ba1b7362df02167d214be3e7e6e371fe90ce4312bf63c7cd5ba3d988b5bd276040e94a4fdc23464c"
+ "content" :
"b24842345675c75f0ae625a1d7a1a6e202b8adfba7e623864309c7e5851461ac077301aaff97e9257439ff4d3dd068c2"
}
],
"licenses" : [
@@ -154,6 +170,26 @@
{
"type" : "vcs",
"url" : "https://github.com/apache/ant-antlibs-cyclonedx"
+ },
+ {
+ "type" : "license",
+ "url" : "https://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ {
+ "type" : "build-system",
+ "url" :
"https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/"
+ },
+ {
+ "type" : "mailing-list",
+ "url" : "https://ant.apache.org/mail.html"
+ },
+ {
+ "type" : "issue-tracker",
+ "url" :
"https://bz.apache.org/bugzilla/buglist.cgi?component=CycloneDX%20Antlib&product=Ant"
+ },
+ {
+ "type" : "website",
+ "url" : "https://ant.apache.org/antlibs/cyclonedx/"
}
]
},
diff --git a/examples/ant-cyclonedx-0.1alpha-cyclonedx.xml
b/examples/ant-cyclonedx-0.1alpha-cyclonedx.xml
index 18b76f3..0c60614 100644
--- a/examples/ant-cyclonedx-0.1alpha-cyclonedx.xml
+++ b/examples/ant-cyclonedx-0.1alpha-cyclonedx.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<bom serialNumber="urn:uuid:b102ed07-8561-4e8d-9124-2fbaeda2af87" version="1"
xmlns="http://cyclonedx.org/schema/bom/1.6">
+<bom serialNumber="urn:uuid:646a5858-6d5a-41ef-89f2-5640aaf30cdd" version="1"
xmlns="http://cyclonedx.org/schema/bom/1.6">
<metadata>
- <timestamp>2026-05-08T19:48:59Z</timestamp>
+ <timestamp>2026-05-09T08:04:37Z</timestamp>
<lifecycles>
<lifecycle>
<phase>build</phase>
@@ -24,14 +24,14 @@
<version>0.1alpha</version>
<description>Apache CycloneDX Antlib</description>
<hashes>
- <hash alg="MD5">cd60dca84b42bad257fd776c541a937d</hash>
- <hash alg="SHA-1">f27f9d1e378987673e96868fab2c64ff076310c7</hash>
- <hash
alg="SHA-256">ad7490c23be951353bfdc299269816c87c680f2b08a0461d55bde3689d291234</hash>
- <hash
alg="SHA-512">80784ae9b36496e7b5a70e91dfe0280d3437d79a211e2a6b8f761b77f0407494752ecbee9e7b6d5a2c014e04b7069b4dfc36a684fb9a11c982c59913d7ff97e6</hash>
- <hash
alg="SHA3-256">1c6387b9e32013e79dfb420bc005e6dff736546152a95bbd6673b07a413b78f7</hash>
- <hash
alg="SHA3-512">f57f015857b33731781a646b5131037897dc23f2e1a9e202984d5ac9a484d3843bbc9e1216aee46b4a36da213323f2d1f0f79dfa1e69f788d7bc538adfad9bc1</hash>
- <hash
alg="SHA-384">e93b7acd21cbb36b41b273582b4c3a58828d0e908261549fdef3da0ebdce4e573cfd65e0406c0186cb6d8e76552347c3</hash>
- <hash
alg="SHA3-384">241ac570fb9fc5e5ba1b7362df02167d214be3e7e6e371fe90ce4312bf63c7cd5ba3d988b5bd276040e94a4fdc23464c</hash>
+ <hash alg="MD5">0a399d9079aaabff62080f089e80afa2</hash>
+ <hash alg="SHA-1">d9ec5e2da210f4671b283a9c52606c438a10868c</hash>
+ <hash
alg="SHA-256">8245ac667a63f1cb3c63c57232cbf1b0b8ff0fc833f0e182893b8d41ba57a986</hash>
+ <hash
alg="SHA-512">e0aaf2736ab7c4920bcf3e7c83d2787abb5eefc45c79ab7d030039ef3e60db3eea087e7c1d66970040375982ebfec16c5467c359fd40dd00d1e977e8095de564</hash>
+ <hash
alg="SHA3-256">9d886110a2d0b56053dfb6c279a2ccfb1ffc6a9577db6cc836d81799eb60b8d3</hash>
+ <hash
alg="SHA3-512">db4702ac4434235d939775edd3869b27987d3a7c057f93642af462713396c4b3f84971797534f7a9cecb71f8b29870defec7842dee60ae15f4e58ebefa93a710</hash>
+ <hash
alg="SHA-384">3ebd7c73a900e0009bf7fc7f139c211662c98e241698a30d2b1bc12749c172f06cd63850dbf78b549c882d4c045dfe35</hash>
+ <hash
alg="SHA3-384">b24842345675c75f0ae625a1d7a1a6e202b8adfba7e623864309c7e5851461ac077301aaff97e9257439ff4d3dd068c2</hash>
</hashes>
<licenses>
<license>
@@ -47,6 +47,18 @@
<reference type="license">
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</reference>
+ <reference type="build-system">
+
<url>https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/</url>
+ </reference>
+ <reference type="mailing-list">
+ <url>https://ant.apache.org/mail.html</url>
+ </reference>
+ <reference type="issue-tracker">
+
<url>https://bz.apache.org/bugzilla/buglist.cgi?component=CycloneDX%20Antlib&product=Ant</url>
+ </reference>
+ <reference type="website">
+ <url>https://ant.apache.org/antlibs/cyclonedx/</url>
+ </reference>
</externalReferences>
</component>
</components>
@@ -66,14 +78,14 @@
<version>0.1alpha</version>
<description>Apache CycloneDX Antlib</description>
<hashes>
- <hash alg="MD5">cd60dca84b42bad257fd776c541a937d</hash>
- <hash alg="SHA-1">f27f9d1e378987673e96868fab2c64ff076310c7</hash>
- <hash
alg="SHA-256">ad7490c23be951353bfdc299269816c87c680f2b08a0461d55bde3689d291234</hash>
- <hash
alg="SHA-512">80784ae9b36496e7b5a70e91dfe0280d3437d79a211e2a6b8f761b77f0407494752ecbee9e7b6d5a2c014e04b7069b4dfc36a684fb9a11c982c59913d7ff97e6</hash>
- <hash
alg="SHA3-256">1c6387b9e32013e79dfb420bc005e6dff736546152a95bbd6673b07a413b78f7</hash>
- <hash
alg="SHA3-512">f57f015857b33731781a646b5131037897dc23f2e1a9e202984d5ac9a484d3843bbc9e1216aee46b4a36da213323f2d1f0f79dfa1e69f788d7bc538adfad9bc1</hash>
- <hash
alg="SHA-384">e93b7acd21cbb36b41b273582b4c3a58828d0e908261549fdef3da0ebdce4e573cfd65e0406c0186cb6d8e76552347c3</hash>
- <hash
alg="SHA3-384">241ac570fb9fc5e5ba1b7362df02167d214be3e7e6e371fe90ce4312bf63c7cd5ba3d988b5bd276040e94a4fdc23464c</hash>
+ <hash alg="MD5">0a399d9079aaabff62080f089e80afa2</hash>
+ <hash alg="SHA-1">d9ec5e2da210f4671b283a9c52606c438a10868c</hash>
+ <hash
alg="SHA-256">8245ac667a63f1cb3c63c57232cbf1b0b8ff0fc833f0e182893b8d41ba57a986</hash>
+ <hash
alg="SHA-512">e0aaf2736ab7c4920bcf3e7c83d2787abb5eefc45c79ab7d030039ef3e60db3eea087e7c1d66970040375982ebfec16c5467c359fd40dd00d1e977e8095de564</hash>
+ <hash
alg="SHA3-256">9d886110a2d0b56053dfb6c279a2ccfb1ffc6a9577db6cc836d81799eb60b8d3</hash>
+ <hash
alg="SHA3-512">db4702ac4434235d939775edd3869b27987d3a7c057f93642af462713396c4b3f84971797534f7a9cecb71f8b29870defec7842dee60ae15f4e58ebefa93a710</hash>
+ <hash
alg="SHA-384">3ebd7c73a900e0009bf7fc7f139c211662c98e241698a30d2b1bc12749c172f06cd63850dbf78b549c882d4c045dfe35</hash>
+ <hash
alg="SHA3-384">b24842345675c75f0ae625a1d7a1a6e202b8adfba7e623864309c7e5851461ac077301aaff97e9257439ff4d3dd068c2</hash>
</hashes>
<licenses>
<license>
@@ -86,6 +98,21 @@
<reference type="vcs">
<url>https://github.com/apache/ant-antlibs-cyclonedx</url>
</reference>
+ <reference type="license">
+ <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ </reference>
+ <reference type="build-system">
+
<url>https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/</url>
+ </reference>
+ <reference type="mailing-list">
+ <url>https://ant.apache.org/mail.html</url>
+ </reference>
+ <reference type="issue-tracker">
+
<url>https://bz.apache.org/bugzilla/buglist.cgi?component=CycloneDX%20Antlib&product=Ant</url>
+ </reference>
+ <reference type="website">
+ <url>https://ant.apache.org/antlibs/cyclonedx/</url>
+ </reference>
</externalReferences>
</component>
<supplier>
diff --git a/src/main/org/apache/ant/cyclonedx/ToolData.java
b/src/main/org/apache/ant/cyclonedx/ToolData.java
index 0d48e49..0b33a54 100644
--- a/src/main/org/apache/ant/cyclonedx/ToolData.java
+++ b/src/main/org/apache/ant/cyclonedx/ToolData.java
@@ -64,6 +64,22 @@ public class ToolData {
licRef.setUrl("https://www.apache.org/licenses/LICENSE-2.0.txt");
licRef.setType(ExternalReference.Type.LICENSE);
antlibComponent.addConfiguredExternalReference(licRef);
+ Component.ExternalReference ci = new Component.ExternalReference();
+
ci.setUrl("https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/");
+ ci.setType(ExternalReference.Type.BUILD_SYSTEM);
+ antlibComponent.addConfiguredExternalReference(ci);
+ Component.ExternalReference mailList = new
Component.ExternalReference();
+ mailList.setUrl("https://ant.apache.org/mail.html");
+ mailList.setType(ExternalReference.Type.MAILING_LIST);
+ antlibComponent.addConfiguredExternalReference(mailList);
+ Component.ExternalReference bugzilla = new
Component.ExternalReference();
+
bugzilla.setUrl("https://bz.apache.org/bugzilla/buglist.cgi?component=CycloneDX%20Antlib&product=Ant");
+ bugzilla.setType(ExternalReference.Type.ISSUE_TRACKER);
+ antlibComponent.addConfiguredExternalReference(bugzilla);
+ Component.ExternalReference homepage = new
Component.ExternalReference();
+ homepage.setUrl("https://ant.apache.org/antlibs/cyclonedx/");
+ homepage.setType(ExternalReference.Type.WEBSITE);
+ antlibComponent.addConfiguredExternalReference(homepage);
File antlib = findAntlib();
if (antlib != null) {
diff --git a/src/tests/antunit/componentbom-test.xml
b/src/tests/antunit/componentbom-test.xml
index dd8036a..f0d25a5 100644
--- a/src/tests/antunit/componentbom-test.xml
+++ b/src/tests/antunit/componentbom-test.xml
@@ -497,6 +497,21 @@
<externalReference
type="VCS"
url="https://github.com/apache/ant-antlibs-cyclonedx"/>
+ <externalReference
+ type="LICENSE"
+ url="https://www.apache.org/licenses/LICENSE-2.0.txt"/>
+ <externalReference
+ type="BUILD_SYSTEM"
+
url="https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/"/>
+ <externalReference
+ type="MAILING_LIST"
+ url="https://ant.apache.org/mail.html"/>
+ <externalReference
+ type="ISSUE_TRACKER"
+
url="https://bz.apache.org/bugzilla/buglist.cgi?component=CycloneDX%20Antlib&product=Ant"/>
+ <externalReference
+ type="WEBSITE"
+ url="https://ant.apache.org/antlibs/cyclonedx/"/>
<dependency componentRef="ant"/>
<dependency componentRef="cyclonedx-core"/>
</component>