Uh oh!
There was an error while loading. Please reload this page.
HBASE-27562 Publish SBOM artifacts - #4953
Conversation
Could you review this, @ndimiduk , @huaxiangsun ? |
Apache-HBase
commented
Jan 10, 2023
💔 -1 overall
This message was automatically generated. |
Apache9
commented
Jan 10, 2023
Please run |
Apache-HBase
commented
Jan 10, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 10, 2023
🎊 +1 overall
This message was automatically generated. |
dongjoon-hyun
commented
Jan 10, 2023
Thank you, @Apache9 . I did |
Apache-HBase
commented
Jan 10, 2023
🎊 +1 overall
This message was automatically generated. |
ndimiduk
commented
Jan 10, 2023
FYI @dongjoon-hyun most of HBase's dependencies are masked behind the hbase-thirdparty libraries. For full utility, I suspect that we'll need that project to also publish sbom. |
ndimiduk
commented
Jan 10, 2023
Okay this is a problem. Is there a newer version of this plugin that supports multi-threaded builds? |
Looks like not yet, CycloneDX/cyclonedx-maven-plugin#77 |
ndimiduk
commented
Jan 10, 2023
Have you explored the Apache release process for the resulting artifacts. Does the release manager need to do anything special with the attached artifacts in order to publish them properly? |
Apache-HBase
commented
Jan 10, 2023
🎊 +1 overall
This message was automatically generated. |
Thank you for review, @ndimiduk . This activity focuses on publishing SBOMs of the Maven Central jars. |
Apache-HBase
commented
Jan 10, 2023
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Jan 18, 2023
Let me test locally. |
Apache9
commented
Jan 18, 2023
This is what I've gotten in the local staging dir by running command
Seems fine, we will publish the sbom files along with other files, no more works needed. And as @ndimiduk have already pointed out, for hbase-thirdparty there is a problem that, we shade and relocate other libraries so we will miss the information when others depend on hbase-thirdparty. But anyway, I think this can be improved later. |
dongjoon-hyun
commented
Jan 18, 2023
Thank you so much, @Apache9! |
Apache9
commented
Jan 19, 2023
Going to merge this later unless objections. Thanks. |
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 5feb06b)
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 5feb06b)
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 5feb06b)
dongjoon-hyun
commented
Jan 20, 2023
Thank you all! |
This PR aims to publish SBOM artifacts along with the other Apache projects.
Here is an article to give some context.
Software Bill of Materials (SBOM) are additional artifacts containing the aggregate of all direct and transitive dependencies of a project. The US Government (based on NIST recommendations) currently accepts only the three most popular SBOM standards as valid, namely: CycloneDX, Software Identification (SWID) tag, Software Package Data Exchange® (SPDX).
We can use one of the Maven plugin, CycloneDX maven plugin, a lightweight software bill of materials (SBOM) standard designed for use in application security contexts and supply chain component analysis.
https://maven.apache.org/plugins/index.html#misc
The expected results