We can reference the example in the SPDX Java Library getting started documentation. Reference https://github.com/spdx/Spdx-Java-Library/issues/294