Skip to content

Commit f0df2d2

Browse files
Updating test cases to show that bom-ref for compositions are optional
Signed-off-by: Steve Springett <[email protected]>
1 parent 7e3070f commit f0df2d2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
]
5757
},
5858
{
59-
"bom-ref": "composition-2",
6059
"aggregate": "unknown",
6160
"assemblies": [
6261
"pkg:maven/acme/[email protected]"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ compositions {
4545
dependencies: "acme-application-1.0"
4646
}
4747
compositions {
48-
bom_ref: "composition-1"
4948
aggregate: AGGREGATE_UNKNOWN
5049
assemblies: "pkg:maven/acme/[email protected]"
5150
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency ref="acme-application-1.0"/>
4242
</dependencies>
4343
</composition>
44-
<composition bom-ref="composition-2">
44+
<composition>
4545
<aggregate>unknown</aggregate>
4646
<assemblies>
4747
<assembly ref="pkg:maven/acme/[email protected]"/>

0 commit comments

Comments
 (0)