spdx-maven-plugin
spdx-maven-plugin copied to clipboard
Implement RelationshipType for all known Maven scopes
Right now only the compile, runtime, and test scopes are used. Maven only has a total of 6 scopes. It's a shame the code only supports half of them...
https://github.com/spdx/spdx-maven-plugin/blob/539c533cb7ac7cbe08d0c5ff858f3adecd021766/src/main/java/org/spdx/maven/utils/SpdxV3DependencyBuilder.java#L136-L158
Please consider adding:
- provided -> hasProvidedDependency / PROVIDED_DEPENDENCY_OF
- system -> hasStaticLink / STATIC_LINK
- import -> this is used for bom (dependency) version enforcing ...
Also javax and jakarta api depdendencies are specifications... hasSpecification?
Thanks @nielsm5 for the suggestions - going to do a bit of reading of the spec / relationship types before responding to the suggestions. It may take a couple of days due to some high priority interrupts.