Closed algomaster99 closed 1 year ago
Independent submodules are taken as a dependency because they are a way to aggregate. The following projects are affected by it.
undertow
javaparser
accumulo
core-audio
is no longer a dependency reported in SBOM because the SBOM producer now considers exclusion
: fixed in 2.7.9.
Hi! We talked about Challenges of Producing Software Bill Of Materials for Java today, and I investigate again why some dependencies were wrongly reported compared to
maven-dependency-plugin
. I found the following reasons.Dependencies under
dependencyManagement
Consider
undertow
, the maven dependency tree plugin doesn't reportio.undertow:undertow-benchmarks:2.32.2.Final
as a dependency, butcyclonedx-maven-plugin
does. Probably because it is underdependencyManagement
?Dependencies declared as a submodule
Consider
javaparser
, the maven dependency tree plugin doesn't reportcom.github.javaparser:javaparser-symbol-solver-testing:3.15.15
as a dependency, butcyclonedx-maven-plugin
does because it aggregates modules and shows it under thecomponents
in the SBOM.Dependencies under
exclusion
are also consideredIn
webcam-capture
, dependencycore-audio
has been excluded, however, it is reported undercomponents
in the SBOM.Independent submodules
Independent submodules are also reported as a component, but they are not a dependency. For example, see this dependency - https://github.com/search?q=repo%3Asarxos%2Fwebcam-capture+webcam-capture-driver-vlcj&type=code. Classifer:
bundle
.This also happens with
jenkins
. SBOM reportsorg.jenkins-ci.main:jenkins-coverage
which an independent submodule but it has classifierpom
.No clue
In
accumulo
, two artifacts are reported that have pom classifiers, undercomponents
.org.apache.accumulo:accumulo:2.1.0
org.apache.accumulo:accumulo-master:2.1.0
I am not sure where there are in the repository based on Ctrl + F in the repository.