== exit codes on the vulnerable project
osv-scanner (no flag):                          exit 1
4 finding(s) with CVSS >= 9.0
osv-scanner + scripts/gate.py 9.0:               exit 1
trivy --exit-code 1 --severity CRITICAL:        exit 1
trivy (no --exit-code):                         exit 0
dependency-check -DfailBuildOnCVSS=9:           exit 1
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:13.0.0:check (default-cli) on project orders: 
[ERROR] One or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '9.0': 
dependency-check -DfailBuildOnCVSS=11:          exit 0

== the same project with -Pfixed (all flagged dependencies moved to current releases)
runtime jars: commons-lang3-3.22.0.jar commons-text-1.15.0.jar jackson-annotations-2.23.jar jackson-core-2.23.0.jar jackson-databind-2.23.0.jar log4j-api-2.26.1.jar log4j-core-2.26.1.jar snakeyaml-2.7.jar 
osv-scanner on the SBOM: exit 0; findings: 0
trivy sbom --exit-code 1: exit 0; findings: 0
dependency-check -Pfixed -DfailBuildOnAnyVulnerability=true: exit 0
dependency-check findings: 0

== scope: a vulnerable test-scope dependency (commons-collections 3.2.1, pom.xml at its default versions)
osv-scanner on pom.xml:
| https://osv.dev/GHSA-6hgm-866r-3cjv |      | Maven     | commons-collections:commons-collections (dev) | 3.2.1   | 3.2.2         | pom.xml |
| https://osv.dev/GHSA-fjq5-5j5f-mvxh | 9.8  | Maven     | commons-collections:commons-collections (dev) | 3.2.1   | 3.2.2         | pom.xml |
trivy fs pom.xml:            0 commons-collections findings
dependency-check (jars):     0 commons-collections findings
