Repository navigation
[Backport] MLE-32258: generate SBOM and notice artifacts 11.3 - #636
Merged
SiddharthMaheshB merged 3 commits intoNov 3, 2026
Merged
SiddharthMaheshB merged 3 commits into
SiddharthMaheshB merged 3 commits into
Conversation
SiddharthMaheshB
requested review from
SameeraPriyathamTadikonda
and
a balanced review from Copilot
November 2, 2026 09:08
There was a problem hiding this comment.
🟡 Changes recommended
The SBOM lists dependency versions that differ from the actual 11.3 distribution, compromising downstream vulnerability and compliance checks and requiring regeneration from the distribution.
1 open issue
What changed in this PR
This backport adds SBOM and legal notice artifacts to MLCP’s existing Maven release packaging for 11.3.
Changes:
- Copies the committed SBOM and notice into
deliverable/with versioned filenames and mode 644. - Includes the SBOM in the source distribution.
- Expands copyright-check exclusions for the SBOM and build descriptors.
| File | Description |
|---|---|
src/assemble/srcdist.xml |
Includes the SBOM in the source archive. |
SBOM.spdx.json |
Adds a Black Duck-generated SPDX inventory labeled 12.1.0. |
pom.xml |
Copies and sets permissions on the two new release artifacts. |
.copyrightconfig |
Excludes the SBOM and two XML build files from copyright checks. |
Review effort: Balanced
Co-authored-by: SameeraPriyathamTadikonda <[email protected]>
SiddharthMaheshB
force-pushed
the
MLE-32258-generate-SBOM-and-Notice-artifacts-11.3
branch
from
November 2, 2026 09:48
a1ca6fc to
596c3a9
Compare
SameeraPriyathamTadikonda
approved these changes
Nov 2, 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.

Summary (required):
MLCP builds did not produce an SBOM or a legal notice file in
deliverable/. This adds both to the existingmake_deliverablestep, somvn clean package -DskipTests=trueproduces them next to the zips. It also commits the Black Duck-generated SBOM (SBOM.spdx.json, 12.1.0). It affects the MLCP build and release artifacts.Type of Change (required):
Approach / Implementation Notes (optional):
make_deliverableantrun execution (package phase), after the zip copy,SBOM.spdx.jsonis copied todeliverable/mlcp-${project.version}.spdx.json.NOTICE.txtis copied todeliverable/Legal_Notice_File_for_Progress_MarkLogic_Content_Pump_${project.version}.txt.overwrite="true"and nofailonerroroverride, so a missing source fails the build. Antchmodthen sets mode 644 on both outputs.${project.version}, so they match the zips and pick up the dated version that the nightly sets withversions:set.SBOM.spdx.jsonmust be committed in the repo root next toNOTICE.txt. This is why it is in the same commit.Backward Incompatibility (optional):
None for users or the zip contents. The build now requires
SBOM.spdx.jsonin the repo root and fails at the package step if it is missing.Build Validation (required):
make checkinsuccessfulMLCP is built with Maven, not make. Validated with
mvn clean package -DskipTests=true(JDK 11, Maven 3.9.12); see Manual validation below.Tests Covered (required):
Manual validation
mvn clean package -DskipTests=trueproduced the two zips,mlcp-12.2.spdx.jsonandLegal_Notice_File_for_Progress_MarkLogic_Content_Pump_12.2.txt. Both new files are mode 644.cmpshows each output identical to its source, andpython3 -m json.toolaccepts the SBOM.mvn cleanremovesdeliverable/. With the SBOM missing, the build fails with "Could not find file .../SBOM.spdx.json to copy".Existing regression suites
New regression tests
Not applicable (Please explain)
Additional Notes (optional):
developbuild is 12.2, so the output is namedmlcp-12.2.spdx.json.References (optional):