Skip to content

MLE-27481 Added SPDX file#1922

Merged
rjrudin merged 1 commit intodevelopfrom
feature/spdx
Mar 12, 2026
Merged

MLE-27481 Added SPDX file#1922
rjrudin merged 1 commit intodevelopfrom
feature/spdx

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Mar 12, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 12, 2026 19:26
@github-actions
Copy link

Copyright Validation Results
Total: 1 | Passed: 0 | Failed: 0 | Skipped: 1 | at: 2026-03-12 19:27:29 UTC | commit: 54a9eaa

⏭️ Skipped (Excluded) Files

  • sbom.spdx.json

✅ All files have valid copyright headers!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an SPDX JSON SBOM document to the repository to describe third-party dependencies and associated licensing information for the MarkLogic Java Client.

Changes:

  • Introduces a new sbom.spdx.json file containing SPDX 2.3 document metadata, extracted license texts, and a list of dependency packages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,491 @@
{
"SPDXID" : "SPDXRef-DOCUMENT",
"spdxVersion" : "2.3",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SPDX 2.3 JSON document is missing the required top-level dataLicense field (typically "CC0-1.0"). Many SPDX validators/tools will reject the document without it, so please add dataLicense alongside spdxVersion/SPDXID/creationInfo.

Suggested change
"spdxVersion" : "2.3",
"spdxVersion" : "2.3",
"dataLicense" : "CC0-1.0",

Copilot uses AI. Check for mistakes.
},
"name" : "MarkLogic-DevExp-javaapi.java client-8.1.0.0",
"documentName" : "java client-8.1.0.spdx",
"documentNamespace" : "https://www.progress.com/spdx/MarkLogic/DevExp/javaapi/java client-8.1.0.0-69f00983-1344-342a-b62a-db32c5399683",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentNamespace contains spaces (.../java client-8.1.0.0-...), which makes it an invalid URI. SPDX requires documentNamespace to be a valid, unique URI, so the space should be removed or URL-encoded to avoid consumers failing to parse/validate the SBOM.

Suggested change
"documentNamespace" : "https://www.progress.com/spdx/MarkLogic/DevExp/javaapi/java client-8.1.0.0-69f00983-1344-342a-b62a-db32c5399683",
"documentNamespace" : "https://www.progress.com/spdx/MarkLogic/DevExp/javaapi/java%20client-8.1.0.0-69f00983-1344-342a-b62a-db32c5399683",

Copilot uses AI. Check for mistakes.
"creators" : [ "Tool: SBOMinator-1.1.0.617", "Organization: Progress Software Corporation" ]
},
"name" : "MarkLogic-DevExp-javaapi.java client-8.1.0.0",
"documentName" : "java client-8.1.0.spdx",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentName is not part of the standard SPDX JSON 2.3 document properties (the document name is represented by the top-level name). Keeping documentName may cause schema validation failures in strict SPDX tooling; consider removing it or renaming it to a supported field if it’s needed for internal consumers.

Suggested change
"documentName" : "java client-8.1.0.spdx",

Copilot uses AI. Check for mistakes.
Comment on lines +28 to +31
"packages" : [ {
"SPDXID" : "SPDXRef-C1:com.fasterxml.jackson.core:jackson-annotations:2.21",
"name" : "jackson-annotations",
"versionInfo" : "2.21",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All package SPDXID values include : characters (e.g. SPDXRef-C1:com.fasterxml...). SPDX element IDs are expected to match the SPDXRef-... identifier pattern and typically should not contain colons; this can break references/relationships and validation. Please normalize these IDs (e.g., replace : with -/_) and put Maven coordinates in a dedicated field such as externalRefs (purl) if needed.

Copilot uses AI. Check for mistakes.
@rjrudin rjrudin merged commit b0eca28 into develop Mar 12, 2026
9 checks passed
@rjrudin rjrudin deleted the feature/spdx branch March 12, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants