<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Software Bill of Materials on Eclipse Project Handbook</title>
    <link>/software-bill-of-materials/</link>
    <description>Recent content in Software Bill of Materials on Eclipse Project Handbook</description>
    <generator>Nuxt</generator>
    <language>en</language>
    <managingEditor>webdev@eclipse-foundation.org (Eclipse Foundation)</managingEditor>
    <webMaster>webdev@eclipse-foundation.org (Eclipse Foundation)</webMaster>
    <atom:link href="/software-bill-of-materials/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fundamentals</title>
      <link>/software-bill-of-materials/fundamentals/</link>
      <author>webdev@eclipse-foundation.org (Eclipse Foundation)</author>
      <guid>/software-bill-of-materials/fundamentals/</guid>
      <description>&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Generate a correct SBOM in a standard format for products&lt;/strong&gt;&lt;br&gt;This includes both the files that are contained within the product along with third party content embedded or referenced by the product. As of this writing, there are two popular standard formats: &lt;a href=&quot;https://spdx.dev/&quot;&gt;SPDX&lt;/a&gt; and &lt;a href=&quot;https://cyclonedx.org/&quot;&gt;CycloneDX&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Must be able to resolve entries to specific content via unambiguous and durable coordinates&lt;/strong&gt;&lt;br&gt;The &lt;a href=&quot;https://github.com/package-url/purl-spec&quot;&gt;Package URL&lt;/a&gt; (pURL) format (e.g, &lt;code&gt;pkg:maven/org.glassfish.jersey.inject/jersey-hk2@2.35&lt;/code&gt;) to specify the namespace, name, and version of a library.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Correctly identify the license for each entry&lt;/strong&gt;&lt;br&gt;For project content (that is, files) this is the license information for the specific file. For dependencies (whether they are packaged in the product or are referenced/required by it), this is the license of the entire component.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Distribute SBOMs with artifacts&lt;/strong&gt;&lt;br&gt;Upload SBOMs along with the artifacts they represent. SBOMs should be, for example, uploaded alongside other Maven artifacts.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Be a good open source citizen&lt;/strong&gt;&lt;br&gt;As good open source citizens, we have a responsibility to make it as easy as possible for others to generate SBOMs using our content. To that end, whether or not it makes sense to create an SBOM for a specific project artifact, we should provide consistent &lt;a href=&quot;/legal-documentation/copyright-headers/&quot;&gt;copyright headers&lt;/a&gt; that correctly express the copyright and licence (using &lt;code&gt;SPDX-License-Identifier&lt;/code&gt;) and the most complete metadata (e.g., &lt;a href=&quot;/software-bill-of-materials/maven-based-java-projects/#maven-metadata-best-practices&quot;&gt;Maven metadata&lt;/a&gt;) possible to ensure that adopters are able to create the most accurate SBOMs possible.&lt;/li&gt;&lt;/ul&gt;
&lt;h3 id=&quot;in-this-chapter&quot;&gt;In this chapter&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/software-bill-of-materials/&quot;&gt;Software Bill of Materials&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Fundamentals&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/software-bill-of-materials/maven-based-java-projects/&quot;&gt;Maven-Based Java Projects&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/software-bill-of-materials/node-based-projects/&quot;&gt;Node-based Projects&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Maven-Based Java Projects</title>
      <link>/software-bill-of-materials/maven-based-java-projects/</link>
      <author>webdev@eclipse-foundation.org (Eclipse Foundation)</author>
      <guid>/software-bill-of-materials/maven-based-java-projects/</guid>
      <description>&lt;p&gt;The &lt;code&gt;spdx-maven-plugin&lt;/code&gt; and &lt;code&gt;cyclonedx-maven-plugin&lt;/code&gt; Maven plugins build, respectively, SPDX and CycloneDX-compliant SBOMs. Both do a good job of capturing information about project content as well as the transitive closure of all dependencies.&lt;/p&gt;
&lt;p&gt;The quality of the results of using these plugins depends on the quality of the metadata available to the plugin. For Maven-based builds, metadata is provided primarily via the &lt;code&gt;pom.xml&lt;/code&gt; file. This includes dependencies, description, identity of the developers, location of source repositories, licenses, and more. The overall completeness and quality of metadata varies greatly: dependencies are generally specified correctly (they may include extra dependencies that are no longer used), but most of the other fields are either not provided, contain inaccurate data, or are specified in inconsistent formats.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Node-based Projects</title>
      <link>/software-bill-of-materials/node-based-projects/</link>
      <author>webdev@eclipse-foundation.org (Eclipse Foundation)</author>
      <guid>/software-bill-of-materials/node-based-projects/</guid>
      <description>&lt;h2 id=&quot;node-metadata-best-practices&quot;&gt;Node Metadata Best Practices&lt;/h2&gt;
&lt;p&gt;The quality of the SBOMs generated by tools depends on the quality of the metadata provided by each of the modules.&lt;/p&gt;
&lt;p&gt;We recommend adopting the following practices.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Provide basic metadata for your modules&lt;/strong&gt;&lt;br&gt;At a minimum, specify a name and version in every module’s metadata.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Specify the license as an SPDX identifier or expression&lt;/strong&gt;&lt;br&gt;When the content is distributed under a single license, specify that license as an &lt;a href=&quot;https://spdx.org/licenses/&quot;&gt;SPDX identifier&lt;/a&gt;. When the content is distributed under multiple licenses, specify the license as an &lt;a href=&quot;https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/&quot;&gt;SPDX expression&lt;/a&gt;.&lt;br&gt;For example, to express that content may be consumed under either the Eclipse Public License 2.0 or the GNU Public License 2.0 with the Classpath Exception (&lt;code&gt;EPL-2.0 or GPL-2.0-only with Classpath-exception-2.0&lt;/code&gt;), include the following in the &lt;code&gt;package.json&lt;/code&gt; file:&lt;pre class=&quot;language-json&quot; code=&quot;&amp;quot;license&amp;quot; : &amp;quot;EPL-2.0 or GPL-2.0-only with Classpath-exception-2.0&amp;quot;
&quot; language=&quot;json&quot; meta=&quot;&quot;&gt;&lt;code&gt;&amp;quot;license&amp;quot; : &amp;quot;EPL-2.0 or GPL-2.0-only with Classpath-exception-2.0&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Keep your dependencies up-to-date&lt;/strong&gt;&lt;br&gt;Keep your dependencies up-to-date and generate SBOMs regularly to maintain an accurate and comprehensive inventory of your Node package’s components and dependencies.&lt;/li&gt;&lt;/ul&gt;
&lt;h2 id=&quot;cyclonedx-sboms-from-node&quot;&gt;CycloneDX SBOMs from Node&lt;/h2&gt;
&lt;p&gt;To generate an SBOM for your Node package, you can use tools specifically designed for this purpose, such as CycloneDX. Here are the general steps to generate an SBOM:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
