refactoring/527_spdx-sbom#542
Open
redcatbear wants to merge 6 commits into
Open
Conversation
kaklakariada
requested changes
Jun 14, 2026
Comment on lines
+98
to
+104
| - name: Upload SPDX SBOM | ||
| uses: actions/upload-artifact@v7 | ||
| if: ${{ env.DEFAULT_OS == matrix.os && env.DEFAULT_JAVA == matrix.java }} | ||
| with: | ||
| name: openfasttrace-spdx | ||
| path: product/target/site/*.spdx.json | ||
| if-no-files-found: error |
Contributor
There was a problem hiding this comment.
👍
Also generate this in the release workflow, calculate checksum and attach it with the checksum to the GitHub release (see shell script).
Comment on lines
+91
to
+96
| - name: Generate SPDX SBOM | ||
| if: ${{ env.DEFAULT_OS == matrix.os && env.DEFAULT_JAVA == matrix.java }} | ||
| run: | | ||
| mvn --batch-mode -pl product spdx:createSPDX \ | ||
| -Dossindex.skip=true \ | ||
| -Djava.version=${{ matrix.java }} |
Contributor
There was a problem hiding this comment.
Would it be possible to run the plugin with mvn install? Then you don't need a separate build step.
| <!-- The following section is unfortunately necessary because the Maven SPDX plugin has problems | ||
| with OFT's multi-module project | ||
| --> | ||
| <licenseOverwrites> |
Contributor
There was a problem hiding this comment.
We really need to find a workaround for this ;)
Comment on lines
+62
to
+73
| <configuration> | ||
| <sbomType>build</sbomType> | ||
| <includeTestScope>false</includeTestScope> | ||
| <licenseDeclared>GPL-3.0-only</licenseDeclared> | ||
| <licenseConcluded>GPL-3.0-only</licenseConcluded> | ||
| <copyrightText>Copyright (c) itsallcode.org</copyrightText> | ||
| <createExternalRefs>false</createExternalRefs> | ||
| <defaultFileConcludedLicense>GPL-3.0-only</defaultFileConcludedLicense> | ||
| <defaultLicenseInformationInFile>GPL-3.0-only</defaultLicenseInformationInFile> | ||
| <defaultFileCopyright>Copyright (c) itsallcode.org</defaultFileCopyright> | ||
| </configuration> | ||
| </plugin> |
Contributor
There was a problem hiding this comment.
Duplicated in parent pom. Is this really necessary as the root is only an aggregator pom without code?
Co-authored-by: Christoph Pirkl <4711730+kaklakariada@users.noreply.github.com>
|
kaklakariada
approved these changes
Jun 15, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



This is our first shot at creating an SBOM. OFT's SBOM is not very thrilling, since OFT has only a single runtime dependency (the JRE) and that is not included in the distribution JAR because it is on the user's machine.
That leaves only a list of internal OFT packages in the SBOM, which all have the same license: GPL 3.0.
Closes #527.