Skip to content

Commit 4a7e8f7

Browse files
Update bill-of-materials example
Signed-off-by: Harshita-Kanal <[email protected]>
1 parent 652667b commit 4a7e8f7

File tree

1 file changed

+26
-14
lines changed

1 file changed

+26
-14
lines changed

content/docs/features/bill-of-materials.md

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,46 +37,58 @@ For this output:
3737
1. `bom` is the buildpack populated bom.
3838
2. `buildpacks` is the list of buildpacks.
3939

40-
```
40+
```json
4141
{
4242
"bom": [
4343
{
44-
"name": "jdk",
45-
"metadata": null,
44+
"name": "java",
45+
"metadata": {
46+
"version": "11.0.12+7"
47+
},
4648
"buildpack": {
47-
"id": "samples/java-maven",
48-
"version": "0.0.1"
49+
"id": "google.java.runtime",
50+
"version": "0.9.1"
4951
}
5052
}
5153
],
5254
"buildpacks": [
5355
{
54-
"homepage": "https://github.com/buildpacks/samples/tree/main/buildpacks/java-maven",
55-
"id": "samples/java-maven",
56+
"id": "google.java.runtime",
57+
"version": "0.9.1"
58+
},
59+
{
60+
"id": "google.java.maven",
61+
"version": "0.9.0"
62+
},
63+
{
64+
"id": "google.java.entrypoint",
65+
"version": "0.9.0"
66+
},
67+
{
68+
"id": "google.utils.label",
5669
"version": "0.0.1"
5770
}
5871
],
5972
"launcher": {
60-
"version": "0.11.3",
73+
"version": "0.11.1",
6174
"source": {
6275
"git": {
6376
"repository": "github.com/buildpacks/lifecycle",
64-
"commit": "aa4bbac"
77+
"commit": "75df86c"
6578
}
6679
}
6780
},
6881
"processes": [
6982
{
7083
"type": "web",
71-
"command": "java -jar target/sample-0.0.1-SNAPSHOT.jar",
72-
"args": null,
73-
"direct": false,
74-
"buildpackID": "samples/java-maven"
84+
"command": "java",
85+
"args": ["-jar", "/workspace/target/sample-0.0.1-SNAPSHOT.jar"],
86+
"direct": true,
87+
"buildpackID": "google.java.entrypoint"
7588
}
7689
],
7790
"buildpack-default-process-type": "web"
7891
}
79-
8092
```
8193

8294
[adding-bill-of-materials]: /docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials/

0 commit comments

Comments
 (0)