BOM table is deprecated
when building Spring Boot as Native Image app
#280
Labels
type:bug
A general bug
Expected Behavior
When running a build with a Spring Boot app and building a native-image, you'll see this warning:
Current Behavior
This happens because there is a bug in the build.go script. The problem is that we write an old-style SBOM entry here, but when you do a native-image build, we don't end up writing any new-style SBOM entries.
If you do a regular, non-native-image build you'll get new-style SBOM entries for the Spring Cloud Bindings JAR, but that doesn't get installed with Native image.
When you have old-style SBOM entries and no new-style SBOM entries, you get this particular warning.
Possible Solution
I'm not totally sure. We don't need to write any SBOM entries in the new format because the application SBOM entries are generated in different buildpacks (executable-jar). Perhaps we could write an empty file and get past this warning?
Steps to Reproduce
Motivations
This is very minor. It can just be a little confusing to see the WARNING. If we could suppress it, that would be helpful.
The text was updated successfully, but these errors were encountered: