Apache ant

Clone this repo:

Branches

  1. 7402318 transfer compositionAggregate from linked sbom by Stefan Bodewig · 7 days ago main
  2. fe902d2 add ability to state completeness of relationship description by Stefan Bodewig · 8 days ago
  3. 8cd3b19 update cyclonedx-core-java which dropped its commons dependencies by Stefan Bodewig · 10 days ago
  4. 4d48e63 make Ivy SBOM creation the default by Stefan Bodewig · 3 weeks ago
  5. 4747240 simplify setup by Stefan Bodewig · 3 weeks ago

Apache CyclondeDX Ant Library

This is a library of Ant tasks and types providing ways to create CycloneDX SBOMs for Apache Ant built artifacts.

Homepage, Binary Releases.

This library provides the basic infrastructure that should be good enough to create SBOMs for projects that use manual management of dependencies (or don't have any dependencies at all). An extension for projects that use Ivy and can reduce the manual work is planned.

The library provides types for licenses, organizations and external references that can be reused in multiple components as well a a type for components that may be referenced from multiple entries. A task allows the creation of CycloneDX SBOMs based on these types in JSON and XML format.

The heavy lifting is performed by CycloneDX Core (Java).

Right now the library is in an early stage of development and the main audience is Ant itself. This doesn‘t mean it couldn’t be used for other projects and of course we are open to extend it to make things easier.

Both the Java API as well as the Ant build-file API (attributes and nested elements) may change with future releases.