Skip to content

Commit bc587e1

Browse files
Update sitedocs for branch main
1 parent 9bc13ad commit bc587e1

File tree

283 files changed

+363
-300
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+363
-300
lines changed

doc/main/BndBuild.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/BndBuild.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/BndBuild.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/BuildProperties.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/BuildProperties.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/BuildProperties.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/Category.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/Category.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/Category.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/PackagingTypes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/PackagingTypes.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/PackagingTypes.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/SBOM.html

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/SBOM.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/SBOM.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
@@ -106,10 +106,29 @@
106106
</header>
107107
<main id="bodyColumn" class="span10">
108108
<section><a id="Creating_SBOMs_for_Tycho_artifacts"></a>
109-
<h1>Creating SBOMs for Tycho artifacts</h1>
109+
<h1>Creating SBOMs for Tycho artifacts</h1><section><a id="What_is_an_SBOM.3F"></a>
110+
<h2>What is an SBOM?</h2>
111+
<p>A Software Bill of Materials (SBOM) is a formal, machine-readable inventory of software components and dependencies, information about those components, and their hierarchical relationships. SBOMs are essential for:</p>
112+
<ul>
113+
114+
<li><strong>Security</strong>: Understanding your software supply chain and identifying vulnerable components</li>
115+
<li><strong>Compliance</strong>: Meeting regulatory requirements and license obligations</li>
116+
<li><strong>Transparency</strong>: Documenting what's in your software for customers and stakeholders</li>
117+
</ul>
118+
<p>Tycho supports generating SBOMs in industry-standard formats like CycloneDX, making it easier to maintain visibility into your Eclipse-based applications.</p></section><section><a id="SBOM_Generation_Approaches"></a>
119+
<h2>SBOM Generation Approaches</h2>
110120
<p>Tycho has two ways of creating an SBOM for your artifacts one local using an extension for the <a href="https://github.com/CycloneDX/cyclonedx-maven-plugin" class="externalLink">cyclone-dx plugin</a>
111-
and one more global approach using a prebuild products.</p><section><a id="Using_the_cyclone-dx_extension"></a>
121+
and one more global approach using a prebuild products.</p></section><section><a id="Using_the_cyclone-dx_extension"></a>
112122
<h2>Using the cyclone-dx extension</h2>
123+
<p>The <a href="https://github.com/CycloneDX/cyclonedx-maven-plugin" class="externalLink">CycloneDX Maven Plugin</a> creates SBOMs for individual Maven projects during the build lifecycle. Tycho provides an extension (<code>tycho-sbom</code>) that enables the CycloneDX plugin to properly understand and include OSGi/Eclipse-specific artifacts in the generated SBOM.</p>
124+
<p>This approach is ideal for:</p>
125+
<ul>
126+
127+
<li>Generating SBOMs as part of your regular Maven build</li>
128+
<li>Creating per-module SBOMs for individual components</li>
129+
<li>Integration with CI/CD pipelines</li>
130+
</ul>
131+
<p>To use this extension, add the CycloneDX Maven Plugin with the Tycho SBOM dependency:</p>
113132

114133
<pre class="prettyprint linenums"><code class="language-xml">&lt;plugin&gt;
115134
&lt;groupId&gt;org.cyclonedx&lt;/groupId&gt;
@@ -123,12 +142,29 @@ <h2>Using the cyclone-dx extension</h2>
123142
&lt;/dependencies&gt;
124143
&lt;/plugin&gt;
125144
</code></pre>
126-
<p>see also this demo:</p>
145+
<p>For more information about the CycloneDX Maven Plugin, including configuration options and best practices, see the <a href="https://github.com/CycloneDX/cyclonedx-maven-plugin" class="externalLink">official CycloneDX Maven Plugin documentation</a>.</p>
146+
<p>See also this demo:</p>
127147
<ul>
128148

129149
<li><a href="https://github.com/eclipse-tycho/tycho/tree/main/tycho-its/projects/sbom" class="externalLink">https://github.com/eclipse-tycho/tycho/tree/main/tycho-its/projects/sbom</a></li>
130150
</ul></section><section><a id="Using_a_prebuild_product"></a>
131-
<h2>Using a prebuild product</h2><section><a id="calling_from_CLI"></a>
151+
<h2>Using a prebuild product</h2>
152+
<p>The <code>tycho-sbom:generator</code> mojo wraps the <a href="https://github.com/eclipse-cbi/p2repo-sbom" class="externalLink">Eclipse CBI p2repo-sbom tool</a> as a Maven plugin, enabling SBOM generation for complete Eclipse products and installations. This tool is particularly powerful as it:</p>
153+
<ul>
154+
155+
<li>Analyzes complete product installations rather than individual build artifacts</li>
156+
<li>Gathers metadata from multiple sources including Maven Central and ClearlyDefined</li>
157+
<li>Provides enhanced license identification and dependency mapping</li>
158+
<li>Generates comprehensive SBOMs that can be extended with additional metadata</li>
159+
</ul>
160+
<p>This approach is ideal for:</p>
161+
<ul>
162+
163+
<li>Generating SBOMs for final, assembled products</li>
164+
<li>Post-build SBOM generation from existing installations</li>
165+
<li>Creating SBOMs with enriched metadata from external sources</li>
166+
</ul>
167+
<p>For detailed information about the underlying tool, see the <a href="https://github.com/eclipse-cbi/p2repo-sbom/blob/main/docs/index.md" class="externalLink">p2repo-sbom documentation</a>.</p><section><a id="calling_from_CLI"></a>
132168
<h3>calling from CLI</h3>
133169
<p><code>mvn org.eclipse.tycho:tycho-sbom-plugin:6.0.0-SNAPSHOT:generator -Dinstallations=&lt;some folder&gt;</code></p></section><section><a id="using_inside_the_maven_build"></a>
134170
<h3>using inside the maven build</h3>
@@ -149,7 +185,23 @@ <h3>using inside the maven build</h3>
149185
&lt;/execution&gt;
150186
&lt;/executions&gt;
151187
&lt;/plugin&gt;
152-
</code></pre></section></section></section> </main>
188+
</code></pre></section><section><a id="Configuration_Parameters"></a>
189+
<h3>Configuration Parameters</h3>
190+
<p>The <code>tycho-sbom:generator</code> mojo supports the following configuration parameters:</p>
191+
<ul>
192+
193+
<li><strong><code>installations</code></strong> (File): Specify a folder where multiple packaged products are located to be analyzed</li>
194+
<li><strong><code>installation</code></strong> (File): Specify a single installation directory or update-site to analyze</li>
195+
<li><strong><code>cache</code></strong> (File): Specify a cache location for downloaded metadata. If not specified, Tycho uses its global cache location in the Maven local repository</li>
196+
<li><strong><code>central-search</code></strong> (boolean, property: <code>central-search</code>): If enabled, artifacts are mapped to Maven Central using file hashcodes. When a unique match is found, it's assumed to be the real source even if P2 has not recorded any GAVs</li>
197+
<li><strong><code>advisory</code></strong> (boolean, property: <code>advisory</code>): If enabled, queries the Open Source Vulnerabilities (OSV) distributed vulnerability database for known vulnerabilities in Open Source components and adds them as external references to the components</li>
198+
<li><strong><code>p2sources</code></strong> (List of String): A list of URIs that should be used to match against P2 units. These are typically the repositories used during product build</li>
199+
<li><strong><code>verbose</code></strong> (boolean, property: <code>sbom.verbose</code>): Enable verbose logging output from the generator</li>
200+
<li><strong><code>xmlOutputs</code></strong> (File, property: <code>xml-outputs</code>, default: <code>${project.build.directory}</code>): Directory where XML SBOM files will be written</li>
201+
<li><strong><code>jsonOutputs</code></strong> (File, property: <code>json-outputs</code>, default: <code>${project.build.directory}</code>): Directory where JSON SBOM files will be written</li>
202+
<li><strong><code>index</code></strong> (File, property: <code>index</code>, default: <code>${project.build.directory}/index.html</code>): Path where the HTML index file will be written</li>
203+
<li><strong><code>generatorRepository</code></strong> (Repository): The repository where the generator application should be sourced from</li>
204+
</ul></section></section></section> </main>
153205
</div>
154206
</div>
155207
<hr/>

doc/main/SignProducts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/SignProducts.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/SignProducts.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/StructuredBuild.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/StructuredBuild.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/StructuredBuild.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/SystemProperties.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/SystemProperties.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/SystemProperties.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/TargetPlatform.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/TargetPlatform.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/TargetPlatform.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

doc/main/TestingBundles.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<!--
5-
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/TestingBundles.md at 2025-10-15
5+
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/markdown/TestingBundles.md at 2025-10-16
66
| Rendered using Apache Maven Fluido Skin 2.0.1
77
-->
88
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

0 commit comments

Comments
 (0)