Skip to content

Commit fd608e7

Browse files
authored
Merge pull request #720 from stevenbuccini/update-readme
2 parents 010a0a9 + ee8aa96 commit fd608e7

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)