$ trivy rootfs target/lib      (the real jars)
findings: 33

$ osv-scanner scan source -r --no-ignore target/lib       (default plugins)
Starting filesystem walk for root: /
End status: 1 dirs visited, 9 inodes visited, 0 Extract calls, 132.787µs elapsed, 132.871µs wall time
No package sources found, --help for usage information.

$ osv-scanner scan source -r --no-ignore --x-plugins java/archive target/lib
End status: 1 dirs visited, 9 inodes visited, 8 Extract calls, 7.273061ms elapsed, 7.273144ms wall time
findings: 33

$ dependency-check (the Maven plugin always analyses the resolved jars; it has no manifest-only mode)
findings: 28. How it recognised jackson-databind-2.13.4.jar:
   cpe:2.3:a:fasterxml:jackson-core:2.13.4:*:*:*:*:*:*:* confidence HIGHEST
   cpe:2.3:a:fasterxml:jackson-databind:2.13.4:*:*:*:*:*:*:* confidence HIGHEST
   cpe:2.3:a:fasterxml:jackson-modules-java8:2.13.4:*:*:*:*:*:*:* confidence LOW
   pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.13.4 confidence HIGH

$ osv-scanner scan source --no-ignore --x-plugins java/archive target/orders-1.0.0.jar   (the thin application jar)

No issues found
