Skip to content

Commit b25c71d

Browse files
committed
Guard for support SBOM version
1 parent e99c300 commit b25c71d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

native-maven-plugin/src/functionalTest/groovy/org/graalvm/buildtools/maven/SBOMFunctionalTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class SBOMFunctionalTest extends AbstractGraalVMMavenFunctionalTest {
6868
EE() && jdkVersionSupportsAugmentedSBOM()
6969
}
7070

71-
@Requires({ EE() })
71+
@Requires({ supportedAugmentedSBOMVersion() })
7272
def "sbom is created when buildArg '--enable-sbom=export,embed' is used"() {
7373
withSample 'java-application'
7474

samples/java-application/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
<imageName>${imageName}</imageName>
117117
<fallback>false</fallback>
118118
<buildArgs>
119-
<buildArg>--enable-sbom</buildArg>
119+
<buildArg>--enable-sbom=embed,export</buildArg>
120120
</buildArgs>
121121
</configuration>
122122
</plugin>

0 commit comments

Comments
 (0)