From 5182c7a8ee47e442df719c044813797c0f1129db Mon Sep 17 00:00:00 2001 From: Appu Goundan Date: Mon, 3 Jun 2024 10:57:30 -0400 Subject: [PATCH] Update maven properties access Signed-off-by: Appu Goundan --- src/main/java/org/spdx/sbom/gradle/maven/PropertiesForPom.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/spdx/sbom/gradle/maven/PropertiesForPom.java b/src/main/java/org/spdx/sbom/gradle/maven/PropertiesForPom.java index 3f103c9..678fb2e 100644 --- a/src/main/java/org/spdx/sbom/gradle/maven/PropertiesForPom.java +++ b/src/main/java/org/spdx/sbom/gradle/maven/PropertiesForPom.java @@ -29,7 +29,8 @@ public abstract class PropertiesForPom { PropertiesForPom() {} - private static final List JAVA_PROP_KEYS = List.of("java.version", "java.home"); + private static final List JAVA_PROP_KEYS = + List.of("java.version", "java.home", "os.name", "os.arch", "os.version"); @Lazy public Properties get() {