Skip to content

Commit

Permalink
sbom changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-yur committed Aug 13, 2024
1 parent a243044 commit 6209b5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<imageName>demo-report</imageName>
<buildArgs>
<buildArg>--pgo</buildArg>
<buildArg>--emit build-report</buildArg>
<buildArg>--emit=build-report</buildArg>
</buildArgs>
</configuration>
</plugin>
Expand All @@ -154,8 +154,10 @@
<configuration>
<imageName>demo-sbom</imageName>
<buildArgs>
<buildArg>--enable-sbom=embed</buildArg> <!-- -
-enable-sbom=classpath for a classpath sbom-->
<buildArg>--enable-sbom=classpath</buildArg> <!-- -
-enable-sbom=embed
for embedded sbom,-
-enable-sbom=classpath for a classpath sbom, -->
</buildArgs>
</configuration>
</plugin>
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
management.endpoints.web.exposure.include=*
management.endpoints.web.exposure.include=*
management.endpoint.sbom.additional.native-image.location=optional:classpath:META-INF/native-image/sbom.json

0 comments on commit 6209b5d

Please sign in to comment.