Re: Ivy in CycloneDX Antlib

Stefan Bodewig <[email protected]> Sun, 02 Aug 2026 11:38:32 +0200
Newsgroups gmane.comp.jakarta.ant.devel
Message-ID <[email protected]>
On 2026-08-01, Stefan Bodewig wrote:

> The part where I don't understand Ivy is: Initially I didn't specify any
> settingsId and Ivy resolved ivy.xml. After that the ResolveReport
> contained AntUnit, which is a test dependency, even though I said
> conf="default".

I think I've found it, IvyNode#getRootModuleConfigurations seems to
provide what I need. In fact my current mechanism is too simplistic
anyway, I need to have a mapping of Ivy configurations to SBOM component
scopes (required and optional) and for marking things as external.

Still I haven't figured out what isEvicted means and whether it is
relevant to the SBOM creation :-)

Stefan