From 2d6d4ea1f9f978334a9702ded5bd65121e3cf610 Mon Sep 17 00:00:00 2001 From: asafambar Date: Wed, 1 May 2024 21:36:38 +0300 Subject: [PATCH] add classifier to graph --- xray/services/utils/graph.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xray/services/utils/graph.go b/xray/services/utils/graph.go index f4d09a485..58d7640b0 100644 --- a/xray/services/utils/graph.go +++ b/xray/services/utils/graph.go @@ -32,6 +32,8 @@ type OtherComponentIds struct { type GraphNode struct { // Node parent (for internal use) Parent *GraphNode `json:"-"` + // The "classifier" attribute in a Maven pom.xml specifies an additional qualifier for a dependency + Classifier *string `json:"-"` // Node file types (tar, jar, zip, pom) Types *[]string `json:"-"` Id string `json:"component_id,omitempty"`