This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch support-ivy-as-component-source
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-cyclonedx.git

commit 1eb42e9ce3ada407f5fd9e0c7b9a20bc3c6529af
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sat Aug 1 19:49:31 2026 +0200

    include provided dependencies in SBOM
---
 build.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 217065d..6ab79ae 100644
--- a/build.xml
+++ b/build.xml
@@ -61,7 +61,7 @@ under the License.
              uri="antlib:org.apache.ivy.ant"
              loaderRef="cdx.loader"/>
     <ivy:resolve file="ivy.xml" xmlns:ivy="antlib:org.apache.ivy.ant"
-                 conf="default" resolveId="default-only"/>
+                 conf="default,provided" resolveId="compile-and-runtime"/>
   </target>
 
   <target name="define-cyclonedx-components"
@@ -106,7 +106,7 @@ under the License.
           description="Apache CycloneDX Antlib"
           publisher="The Apache Software Foundation"
           supplierIsManufacturer="true">
-        <ivymodule conf="default" resolveId="default-only"/>
+        <ivymodule conf="default,provided" resolveId="compile-and-runtime"/>
         <file file="${jarname}"/>
         <supplier refid="ant-pmc"/>
         <license refid="apache-2"/>

Reply via email to