Skip to content

Commit 24ee292

Browse files
authored
Fix bom-ref in test data valid-compositions (#302)
fixes #301 Signed-off-by: tokcum <tobias.mucke@gmail.com>
1 parent 73c5c7b commit 24ee292

6 files changed

Lines changed: 6 additions & 0 deletions

tools/src/test/resources/1.3/valid-compositions-1.3.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
]
3030
},
3131
{
32+
"bom-ref": "pkg:maven/acme/library@3.0",
3233
"type": "library",
3334
"name": "Acme Library",
3435
"version": "3.0",

tools/src/test/resources/1.3/valid-compositions-1.3.textproto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ components {
2525
}
2626
components {
2727
type: CLASSIFICATION_LIBRARY
28+
bom_ref: "pkg:maven/acme/library@3.0"
2829
name: "Acme Library"
2930
version: "3.0"
3031
purl: "pkg:maven/acme/library@3.0"

tools/src/test/resources/1.4/valid-compositions-1.4.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
]
3030
},
3131
{
32+
"bom-ref": "pkg:maven/acme/library@3.0",
3233
"type": "library",
3334
"name": "Acme Library",
3435
"version": "3.0",

tools/src/test/resources/1.4/valid-compositions-1.4.textproto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ components {
2525
}
2626
components {
2727
type: CLASSIFICATION_LIBRARY
28+
bom_ref: "pkg:maven/acme/library@3.0"
2829
name: "Acme Library"
2930
version: "3.0"
3031
purl: "pkg:maven/acme/library@3.0"

tools/src/test/resources/1.5/valid-compositions-1.5.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
]
3030
},
3131
{
32+
"bom-ref": "pkg:maven/acme/library@3.0",
3233
"type": "library",
3334
"name": "Acme Library",
3435
"version": "3.0",

tools/src/test/resources/1.5/valid-compositions-1.5.textproto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ components {
2525
}
2626
components {
2727
type: CLASSIFICATION_LIBRARY
28+
bom_ref: "pkg:maven/acme/library@3.0"
2829
name: "Acme Library"
2930
version: "3.0"
3031
purl: "pkg:maven/acme/library@3.0"

0 commit comments

Comments
 (0)