Skip to content

Commit ee8aa96

Browse files
committed
Update README with steps to update license list
Update the README with steps to update license list so community members can easily update the license list on behalf of the maintainers. Signed-off-by: Steven Buccini <[email protected]>
1 parent 9bc4916 commit ee8aa96

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ the CycloneDX version supported by the target system.
4848

4949
The library API documentation can be viewed online at [https://cyclonedx.github.io/cyclonedx-core-java/](https://cyclonedx.github.io/cyclonedx-core-java/).
5050

51+
## Updating the license list
52+
1. Download the latest tagged release from [this repo](https://github.com/spdx/license-list-data/tags).
53+
2. Extract the archived directory.
54+
3. Navigate to the `license-list-vX.X.X/text/` directory.
55+
4. Copy all licenses from that directory to the `src/main/java/resources/licenses/` directory in this repo.
56+
5. Copy `license-list-vX.X.X/json/licenses.json` into the `src/main/java/resources/licenses/` directory in this repo.
57+
6. Download [this file](http://cyclonedx.org/schema/spdx.schema.json) (ex: `curl http://cyclonedx.org/schema/spdx.schema.json -o spdx.schema.json`). The `$comment` field should match the version you donwloaded from GitHub. Copy this file into `src/main/resources/`.
58+
7. Download [this file](https://cyclonedx.org/schema/spdx.xsd) (ex `curl https://cyclonedx.org/schema/spdx.xsd -o spdx.xsd`). The version field should match the version you donwloaded from GitHub. Copy this file into `src/main/resources/`.
59+
5160
Copyright & License
5261
-------------------
5362

0 commit comments

Comments
 (0)