cdxgen
cdxgen copied to clipboard
how to exclude dependencies that have test scope from the generated sbom in a java project.
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 ?