-
-
Notifications
You must be signed in to change notification settings - Fork 67
feat: license expression details and properties - text attachment, licensing, etc #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jkowalleck
wants to merge
26
commits into
1.7-dev
Choose a base branch
from
feat/license-expression-text-attachment
base: 1.7-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
39524a2
feat: license expression text attachment
jkowalleck 0ddab28
examples: use alternative XML style
jkowalleck c1a6b33
tests: fix json example
jkowalleck e97c3d3
tests: examples for license expression details
jkowalleck cebcf7d
tests: extend/revisit example for expression-details
jkowalleck 903cb43
rework license expression lext attachments and add shema
jkowalleck 59c9a1f
ework license expression lext attachments and add shema
jkowalleck ee671a8
rename xml
jkowalleck 5995a6d
docs: proto
jkowalleck 7701a10
struct proto
jkowalleck 561c8dd
docs
jkowalleck 0dc34e0
docs
jkowalleck c16b24a
docs: SPDX expression examplefor `LicenseRef-`
jkowalleck 7c49125
docs
jkowalleck 267ef6d
style
jkowalleck 85e903d
refactor: rename and docs
jkowalleck 714813c
licenseexpression details bom-ref
jkowalleck 6aa6fba
tests: examples
jkowalleck d1f83ff
tests: examples
jkowalleck add2dc1
tests: examples
jkowalleck 09a8717
tests: examples
jkowalleck b2c5ca5
docs
jkowalleck 41fc9b2
docs
jkowalleck c974a3c
feat: license url
jkowalleck bfd9eb4
feat: license expression licensing and properties
jkowalleck 5b12e67
tests
jkowalleck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.7", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "application", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"description": "Modified version of Apache Catalina", | ||
"scope": "required", | ||
"hashes": [ | ||
{ | ||
"alg": "MD5", | ||
"content": "3942447fac867ae5cdb3229b658f4d48" | ||
}, | ||
{ | ||
"alg": "SHA-1", | ||
"content": "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
}, | ||
{ | ||
"alg": "SHA-256", | ||
"content": "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
}, | ||
{ | ||
"alg": "SHA-512", | ||
"content": "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"bom-ref": "my-license", | ||
"acknowledgement": "declared", | ||
"expression": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0", | ||
"expression-texts": [ | ||
"license-identifier": "EPL-2.0", | ||
jkowalleck marked this conversation as resolved.
Show resolved
Hide resolved
jkowalleck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"text": { | ||
"content": "Eclipse Public License - v 2.0\n\n THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\n PUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION\n OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT..." | ||
}, | ||
{ | ||
"license-identifier": "GPL-2.0 WITH Classpath-exception-2.0", | ||
"text": { | ||
"content": " GNU GENERAL PUBLIC LICENSE\n Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc.,\n <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed...\n\n...\n\nLinking this library statically or dynamically with other modules is making a combined work based on this library..." | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"purl": "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} | ||
] | ||
} |
49 changes: 49 additions & 0 deletions
49
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.textproto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# proto-file: schema/bom-1.7.proto | ||
# proto-message: Bom | ||
|
||
spec_version: "1.7" | ||
version: 1 | ||
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" | ||
components { | ||
type: CLASSIFICATION_APPLICATION | ||
publisher: "Acme Inc" | ||
group: "com.acme" | ||
name: "tomcat-catalina" | ||
version: "9.0.14" | ||
description: "Modified version of Apache Catalina" | ||
scope: SCOPE_REQUIRED | ||
hashes { | ||
alg: HASH_ALG_MD_5 | ||
value: "3942447fac867ae5cdb3229b658f4d48" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_1 | ||
value: "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_256 | ||
value: "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_512 | ||
value: "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
licenses { | ||
bom_ref: "my-license" | ||
acknowledgement: LICENSE_ACKNOWLEDGEMENT_ENUMERATION_DECLARED | ||
expression: "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0" | ||
expression_texts { | ||
license_identifier: "EPL-2.0" | ||
text { | ||
content: "Eclipse Public License - v 2.0\n\n THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\n PUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION\n OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT..." | ||
} | ||
} | ||
expression_texts { | ||
license_identifier: "GPL-2.0 WITH Classpath-exception-2.0", | ||
text: { | ||
content: " GNU GENERAL PUBLIC LICENSE\n Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc.,\n <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed...\n\n...\n\nLinking this library statically or dynamically with other modules is making a combined work based on this library..." | ||
} | ||
} | ||
} | ||
purl: "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} |
41 changes: 41 additions & 0 deletions
41
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0"?> | ||
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.7"> | ||
<components> | ||
<component type="application"> | ||
<publisher>Acme Inc</publisher> | ||
<group>com.acme</group> | ||
<name>tomcat-catalina</name> | ||
<version>9.0.14</version> | ||
<description>Modified version of Apache Catalina</description> | ||
<scope>required</scope> | ||
<hashes> | ||
<hash alg="MD5">3942447fac867ae5cdb3229b658f4d48</hash> | ||
<hash alg="SHA-1">e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a</hash> | ||
<hash alg="SHA-256">f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b</hash> | ||
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<expression bom-ref="my-license" acknowledgement="declared"> | ||
jkowalleck marked this conversation as resolved.
Show resolved
Hide resolved
jkowalleck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<value>EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0</value> | ||
<text license-identifier="EPL-2.0"><![CDATA[Eclipse Public License - v 2.0 | ||
|
||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE | ||
PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION | ||
OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT...]]]></text> | ||
<text license-identifier="GPL-2.0 WITH Classpath-exception-2.0"><![CDATA[ GNU GENERAL PUBLIC LICENSE | ||
Version 2, June 1991 | ||
|
||
Copyright (C) 1989, 1991 Free Software Foundation, Inc., | ||
<https://fsf.org/> | ||
Everyone is permitted to copy and distribute verbatim copies | ||
of this license document, but changing it is not allowed... | ||
|
||
... | ||
|
||
Linking this library statically or dynamically with other modules is making a combined work based on this library...]]></text> | ||
</expression> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/[email protected]?packaging=jar</purl> | ||
</component> | ||
</components> | ||
</bom> |
49 changes: 49 additions & 0 deletions
49
tools/src/test/resources/1.7/valid-license-id-with-text-1.7.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.7", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "application", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"description": "Modified version of Apache Catalina", | ||
"scope": "required", | ||
"hashes": [ | ||
{ | ||
"alg": "MD5", | ||
"content": "3942447fac867ae5cdb3229b658f4d48" | ||
}, | ||
{ | ||
"alg": "SHA-1", | ||
"content": "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
}, | ||
{ | ||
"alg": "SHA-256", | ||
"content": "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
}, | ||
{ | ||
"alg": "SHA-512", | ||
"content": "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"license": { | ||
"id": "Apache-2.0", | ||
"acknowledgement": "declared", | ||
"bom-ref": "my-license", | ||
"text": { | ||
"content": "\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION..." | ||
} | ||
} | ||
} | ||
], | ||
"purl": "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} | ||
] | ||
} |
47 changes: 47 additions & 0 deletions
47
tools/src/test/resources/1.7/valid-license-id-with-text-1.7.textproto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# proto-file: schema/bom-1.7.proto | ||
# proto-message: Bom | ||
|
||
spec_version: "1.7" | ||
version: 1 | ||
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" | ||
components { | ||
type: CLASSIFICATION_APPLICATION | ||
publisher: "Acme Inc" | ||
group: "com.acme" | ||
name: "tomcat-catalina" | ||
version: "9.0.14" | ||
description: "Modified version of Apache Catalina" | ||
scope: SCOPE_REQUIRED | ||
hashes { | ||
alg: HASH_ALG_MD_5 | ||
value: "3942447fac867ae5cdb3229b658f4d48" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_1 | ||
value: "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_256 | ||
value: "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_512 | ||
value: "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
licenses { | ||
license { | ||
id: "Apache-2.0" | ||
acknowledgement: LICENSE_ACKNOWLEDGEMENT_ENUMERATION_DECLARED | ||
bom_ref: "my-license" | ||
text { | ||
value: """ | ||
Apache License | ||
Version 2.0, January 2004 | ||
http://www.apache.org/licenses/ | ||
|
||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION...""" | ||
} | ||
} | ||
} | ||
purl: "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} |
31 changes: 31 additions & 0 deletions
31
tools/src/test/resources/1.7/valid-license-id-with-text-1.7.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.7"> | ||
<components> | ||
<component type="application"> | ||
<publisher>Acme Inc</publisher> | ||
<group>com.acme</group> | ||
<name>tomcat-catalina</name> | ||
<version>9.0.14</version> | ||
<description>Modified version of Apache Catalina</description> | ||
<scope>required</scope> | ||
<hashes> | ||
<hash alg="MD5">3942447fac867ae5cdb3229b658f4d48</hash> | ||
<hash alg="SHA-1">e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a</hash> | ||
<hash alg="SHA-256">f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b</hash> | ||
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<license bom-ref="my-license" acknowledgement="declared"> | ||
<id>Apache-2.0</id> | ||
<text><![CDATA[ | ||
Apache License | ||
Version 2.0, January 2004 | ||
http://www.apache.org/licenses/ | ||
|
||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION...]]></text> | ||
</license> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/[email protected]?packaging=jar</purl> | ||
</component> | ||
</components> | ||
</bom> |
49 changes: 49 additions & 0 deletions
49
tools/src/test/resources/1.7/valid-license-name-with-text-1.7.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.7", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "application", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"description": "Modified version of Apache Catalina", | ||
"scope": "required", | ||
"hashes": [ | ||
{ | ||
"alg": "MD5", | ||
"content": "3942447fac867ae5cdb3229b658f4d48" | ||
}, | ||
{ | ||
"alg": "SHA-1", | ||
"content": "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
}, | ||
{ | ||
"alg": "SHA-256", | ||
"content": "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
}, | ||
{ | ||
"alg": "SHA-512", | ||
"content": "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"license": { | ||
"name": "My License", | ||
"bom-ref": "my-license", | ||
"acknowledgement": "declared", | ||
"text": { | ||
"content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nec turpis efficitur, ullamcorper lorem ac, fermentum nulla. Mauris a enim nunc. Aliquam diam tellus, porttitor venenatis leo in, mollis ultricies lacus. Sed sagittis hendrerit nulla, eget pulvinar diam..." | ||
} | ||
} | ||
} | ||
], | ||
"purl": "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} | ||
] | ||
} |
42 changes: 42 additions & 0 deletions
42
tools/src/test/resources/1.7/valid-license-name-with-text-1.7.textproto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# proto-file: schema/bom-1.7.proto | ||
# proto-message: Bom | ||
|
||
spec_version: "1.7" | ||
version: 1 | ||
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" | ||
components { | ||
type: CLASSIFICATION_APPLICATION | ||
publisher: "Acme Inc" | ||
group: "com.acme" | ||
name: "tomcat-catalina" | ||
version: "9.0.14" | ||
description: "Modified version of Apache Catalina" | ||
scope: SCOPE_REQUIRED | ||
hashes { | ||
alg: HASH_ALG_MD_5 | ||
value: "3942447fac867ae5cdb3229b658f4d48" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_1 | ||
value: "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_256 | ||
value: "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_512 | ||
value: "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
licenses { | ||
license { | ||
name: "My License" | ||
bom_ref: "my-license" | ||
acknowledgement: LICENSE_ACKNOWLEDGEMENT_ENUMERATION_DECLARED | ||
text { | ||
value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nec turpis efficitur, ullamcorper lorem ac, fermentum nulla. Mauris a enim nunc. Aliquam diam tellus, porttitor venenatis leo in, mollis ultricies lacus. Sed sagittis hendrerit nulla, eget pulvinar diam..." | ||
} | ||
} | ||
} | ||
purl: "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} |
26 changes: 26 additions & 0 deletions
26
tools/src/test/resources/1.7/valid-license-name-with-text-1.7.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0"?> | ||
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.7"> | ||
<components> | ||
<component type="application"> | ||
<publisher>Acme Inc</publisher> | ||
<group>com.acme</group> | ||
<name>tomcat-catalina</name> | ||
<version>9.0.14</version> | ||
<description>Modified version of Apache Catalina</description> | ||
<scope>required</scope> | ||
<hashes> | ||
<hash alg="MD5">3942447fac867ae5cdb3229b658f4d48</hash> | ||
<hash alg="SHA-1">e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a</hash> | ||
<hash alg="SHA-256">f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b</hash> | ||
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<license bom-ref="my-license" acknowledgement="declared"> | ||
<name>My License</name> | ||
<text><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nec turpis efficitur, ullamcorper lorem ac, fermentum nulla. Mauris a enim nunc. Aliquam diam tellus, porttitor venenatis leo in, mollis ultricies lacus. Sed sagittis hendrerit nulla, eget pulvinar diam...]]></text> | ||
</license> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/[email protected]?packaging=jar</purl> | ||
</component> | ||
</components> | ||
</bom> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.