CycloneDX / CycloneDX/cyclonedx-maven-plugin

Add support for supplementing POM models

Open
#599 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
385
Forks
108
Avg merge
17h 31m
Merged PRs (30d)
7

Description

The quality of the generated SBOM strongly depends on the quality of a project's POM file and the POM files of its dependencies. In the short term it is impossible to fix the POM files of dependencies, so it would be useful to have a mechanism to override the effective POMs of those dependencies for the purposes of generating an SBOM.

The [Maven Remote Resources Plugin](https://maven.apache.org/plugins/maven-remote-resources-plugin/index.html) already provides such a mechanism in the form of a [`supplemental-models.xml` file](https://maven.apache.org/plugins/maven-remote-resources-plugin/supplemental-models.html). This file format could also be reused by the CycloneDX Maven Plugin.

Contributor guide

Open the contributing guide

Research direction

Start by reading the Maven Remote Resources Plugin supplemental-models.xml format and the CycloneDX Maven Plugin's POM-processing flow. Determine where supplemental models can be loaded and applied to dependency effective POMs, then verify that generated SBOM metadata reflects those overrides.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.