Skip to content

Commit e50061e

Browse files
Updated purl examples to meet new pkg: qualifier proposal. package-url/purl-spec#31
1 parent 8254965 commit e50061e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

examples/application-bom/bom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
</license>
1919
</licenses>
2020
<copyright>Copyright Example Inc. All rights reserved.</copyright>
21-
<cpe>cpe:2.3:a:example:myapplication:1.0.0</cpe>
22-
<purl>maven:com.example/myapplication@1.0.0packaging=war</purl>
21+
<cpe>cpe:/a:example:myapplication:1.0.0</cpe>
22+
<purl>pkg:maven/com.example/myapplication@1.0.0packaging=war</purl>
2323
<modified>false</modified>
2424

2525
<!-- The application includes the following components -->
@@ -40,7 +40,7 @@
4040
<id>MIT</id>
4141
</license>
4242
</licenses>
43-
<purl>npm:bootstrap@3.3.7</purl>
43+
<purl>pkg:npm/bootstrap@3.3.7</purl>
4444
<modified>false</modified>
4545
</component>
4646
<component type="framework">
@@ -59,7 +59,7 @@
5959
<id>Apache-2.0</id>
6060
</license>
6161
</licenses>
62-
<purl>maven:com.example/myframework@1.0.0packaging=war</purl>
62+
<purl>pkg:maven/com.example/myframework@1.0.0packaging=war</purl>
6363
<modified>false</modified>
6464
</component>
6565
<!-- continue adding additional components -->

examples/individual-component/bom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</licenses>
2020
<copyright>Copyright Example Inc. All rights reserved.</copyright>
2121
<cpe>cpe:/a:example:xmlutil:1.0.0</cpe>
22-
<purl>maven:com.example/xmlutil@1.0.0?packaging=jar</purl>
22+
<purl>pkg:maven/com.example/xmlutil@1.0.0?packaging=jar</purl>
2323
<modified>false</modified>
2424
</component>
2525
</components>

0 commit comments

Comments
 (0)