-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Open
Labels
type: enhancementA general enhancementA general enhancement
Milestone
Description
With native images, and starting with GraalVM 23, it is possible to include the SBOM file in the classpath by running the build with --enable-sbom=classpath.
It would be handy to have a standard approach to view/print this SBOM file on demand.
Discussion in #40630 suggests an approach via -Djarmode=tools.
Examples:
my-app -Djarmode=tools sbom
java -Djarmode=tools -jar my-app.jar sbom
java -Djarmode=tools -jar my-app.jar sbom [--destination my-app.sbom.json] (toggle between System.out or a file)
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement