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 0ac5d3e needs Java9+ to build SBOMs
0ac5d3e is described below
commit 0ac5d3e1c1d7aca60e4f12e73c2eb1637c6c044c
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sun Jul 26 18:30:50 2026 +0200
needs Java9+ to build SBOMs
---
common | 2 +-
cyclonedx.xml | 16 +++++++++++-----
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/common b/common
index e5aede2..08aa3ef 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit e5aede23ca435d31bd804e2e8e08b5d30cce68ff
+Subproject commit 08aa3efdbec177de04e5a9d7f9a5ca787d612a4e
diff --git a/cyclonedx.xml b/cyclonedx.xml
index c0be047..28f1394 100644
--- a/cyclonedx.xml
+++ b/cyclonedx.xml
@@ -19,7 +19,9 @@ under the License.
-->
<project name="cyclonedx" xmlns:ivy="antlib:org.apache.ivy.ant">
- <target name="define-cyclonedx-components"
depends="define-core-ant-components">
+ <target name="define-cyclonedx-components"
+ depends="define-core-ant-components"
+ if="can.use.cyclonedx">
<cdx:externalreferenceset
id="antlib-ext-refs"
xmlns:cdx="antlib:org.apache.ant.cyclonedx">
@@ -32,7 +34,9 @@ under the License.
</cdx:externalreferenceset>
</target>
- <target name="create-antlib-sbom"
depends="define-cyclonedx-components,antlib">
+ <target name="create-antlib-sbom"
+ depends="define-cyclonedx-components,antlib"
+ if="can.use.cyclonedx">
<uptodate property="antlib-sbom-ok"
targetfile="${build.lib}/${artifact.stub}.cdx.json">
<srcresources>
@@ -102,7 +106,9 @@ under the License.
</cdx:componentbom>
</target>
- <target name="after-dist" depends="define-cyclonedx-components">
+ <target name="after-dist"
+ depends="define-cyclonedx-components"
+ if="can.use.cyclonedx">
<macrodef name="distributionbom" backtrace="false">
<attribute name="version"/>
<attribute name="archiveName"/>
@@ -222,7 +228,7 @@ under the License.
</macrodef>
</target>
- <target name="src-sboms" depends="after-dist">
+ <target name="src-sboms" depends="after-dist" if="can.use.cyclonedx">
<create-tarball-boms
distdir="${src.dist.dir}"
distbase="${dist.base}"
@@ -231,7 +237,7 @@ under the License.
binarysource="Source Distribution"/>
</target>
- <target name="bin-sboms" depends="after-dist">
+ <target name="bin-sboms" depends="after-dist" if="can.use.cyclonedx">
<create-tarball-boms
distdir="${bin.dist.dir}"
distbase="${dist.base}"