From d2d70db5a7c50d4d04059688d82384bfe0bdd20a Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Fri, 1 Dec 2023 18:32:46 +0000 Subject: [PATCH] Update Signed-off-by: Stewart X Addison --- cyclonedx-lib/build.xml | 27 +++++++++++++++++++ .../src/temurin/sbom/TemurinGenSBOM.java | 4 +-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/cyclonedx-lib/build.xml b/cyclonedx-lib/build.xml index 04e47b20d..27682ffa0 100644 --- a/cyclonedx-lib/build.xml +++ b/cyclonedx-lib/build.xml @@ -468,8 +468,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java b/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java index f14cc7c69..e36bec91c 100644 --- a/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java +++ b/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java @@ -138,11 +138,11 @@ public static void main(final String[] args) { writeJSONfile(bom, fileName); break; - case "addFormulationComponent": // Adds Formulation --> Component--> name + case "addFormulationComp": // Adds Formulation --> Component--> name bom = addFormulaComponent(fileName, name, type); writeJSONfile(bom, fileName); break; - case "addFormulationProperty": // Adds Formulation--> Property --> name-value: + case "addFormulationCompProp": // Adds Formulation--> Property --> name-value: bom = addFormulaComponentProperty(fileName, compName, name, value); writeJSONfile(bom, fileName); break;