File tree Expand file tree Collapse file tree 17 files changed +22
-22
lines changed
tools/src/test/resources/1.7 Expand file tree Collapse file tree 17 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 77 in validators and tools digesting XML.
88 -->
99 <components >
10- <component type =" library" isExtraneous =" false" >
10+ <component type =" library" isExternal =" false" >
1111 <name >InvalidVersions</name >
1212 <versionRange ><![CDATA[ vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1]]> </versionRange >
13- <description >versionRange may only exist on extraneous components, set `isExtraneous ` explicit</description >
13+ <description >versionRange may only exist on extraneous components, set `isExternal ` explicit</description >
1414 </component >
1515 </components >
1616</bom >
Original file line number Diff line number Diff line change 88 -->
99 <components >
1010 <component type =" library" >
11- <!-- @isExtraneous defaults to `false` -->
11+ <!-- @isExternal defaults to `false` -->
1212 <name >InvalidVersions</name >
1313 <versionRange ><![CDATA[ vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1]]> </versionRange >
14- <description >versionRange may only exist on extraneous components, set `isExtraneous ` implicit by default value</description >
14+ <description >versionRange may only exist on extraneous components, set `isExternal ` implicit by default value</description >
1515 </component >
1616 </components >
1717</bom >
Original file line number Diff line number Diff line change 1111 "description" : " may have `version` or `versionRange`, not both. This one does - it is invalid" ,
1212 "version" : " 9.0.14" ,
1313 "versionRange" : " vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1" ,
14- "isExtraneous " : true
14+ "isExternal " : true
1515 }
1616 ]
1717}
Original file line number Diff line number Diff line change 33 serialNumber =" urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version =" 1"
44>
55 <components >
6- <component type =" library" isExtraneous =" true" >
6+ <component type =" library" isExternal =" true" >
77 <name >InvalidVersions</name >
88 <version >9.0.14</version >
99 <versionRange ><![CDATA[ vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1]]> </versionRange >
Original file line number Diff line number Diff line change 88 {
99 "type" : " library" ,
1010 "name" : " InvalidVersions" ,
11- "description" : " versionRange may only exist on extraneous components; set `.isExtraneous ` explicit" ,
12- "isExtraneous " : false ,
11+ "description" : " versionRange may only exist on extraneous components; set `.isExternal ` explicit" ,
12+ "isExternal " : false ,
1313 "versionRange" : " vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1"
1414 }
1515 ]
Original file line number Diff line number Diff line change 88 {
99 "type" : " library" ,
1010 "name" : " InvalidVersions" ,
11- "description" : " versionRange may only exist on extraneous components; set `.isExtraneous ` implicit by default value" ,
11+ "description" : " versionRange may only exist on extraneous components; set `.isExternal ` implicit by default value" ,
1212 "versionRange" : " vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1"
1313 }
1414 ]
Original file line number Diff line number Diff line change 99 "type" : " library" ,
1010 "name" : " Foo" ,
1111 "description" : " extraneous without any version constraints" ,
12- "isExtraneous " : true
12+ "isExternal " : true
1313 }
1414 ]
1515}
Original file line number Diff line number Diff line change 33 serialNumber =" urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version =" 1"
44>
55 <components >
6- <component type =" library" isExtraneous =" true" >
6+ <component type =" library" isExternal =" true" >
77 <name >Foo</name >
88 <description >extraneous without any version constraints</description >
99 </component >
1010 </components >
11- </bom >
11+ </bom >
Original file line number Diff line number Diff line change 99 "type" : " library" ,
1010 "name" : " Foo" ,
1111 "description" : " extraneous with version constraint" ,
12- "isExtraneous " : true ,
12+ "isExternal " : true ,
1313 "version" : " 9.1.24"
1414 }
1515 ]
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ components {
88 type: CLASSIFICATION_LIBRARY
99 name: " Foo"
1010 description: " extraneous with version constraint" ,
11- isExtraneous : true
11+ isExternal : true
1212 version: " 9.1.24"
1313}
You can’t perform that action at this time.
0 commit comments