spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

[Question] Does this spec support to describe the transitivity and scope of dependencies

Open WestFarmer opened this issue 5 months ago • 1 comments

In java's ecosystem, with maven as build tool.

when a project specify it depends on some libraries, those libraries can also depends on other libraries.

for example:

project P -> lib A -> lib B -> lib c

for project P, only lib A is called direct dependency, while B and C are called transitive dependencies.

and dependencies can have scope, for example a project P may depends on lib B, but only for running unit tests.

project P -> lib A 
         \-> lib B(test scope)

what's the corresponding concepts in this spec ?

WestFarmer avatar Sep 24 '24 08:09 WestFarmer