cdxgen icon indicating copy to clipboard operation
cdxgen copied to clipboard

how to exclude dependencies that have test scope from the generated sbom in a java project.

Open MohammedAziz02 opened this issue 3 months ago • 3 comments

when I run cdxgen -t java -o artifactSBOM.json --spec-version=1.4 on a java project, it gives the message "mvn org.cyclonedx:cyclonedx-maven-plugin:2.8.0:makeAggregateBom -DoutputName=bom -DincludeTestScope=true -q -DschemaVersion=1.4", but I don't want to include the dependencies that have a test scope. how to do that ?

MohammedAziz02 avatar Apr 26 '24 15:04 MohammedAziz02