Skip to content

Commit a1296ec

Browse files
docs: link to canonical plugin BOM documentation
1 parent 5699ae4 commit a1296ec

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

content/doc/developer/testing/index.adoc

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -79,27 +79,10 @@ The following list covers typical integration tests:
7979
</dependency>
8080
----
8181

82-
To avoid manually managing dependency versions and to prevent conflicts between Jenkins components,
83-
it is recommended to use the Jenkins Bill of Materials (BOM).
84-
The BOM aligns compatible versions across the Jenkins ecosystem and is the standard approach
85-
for Jenkins plugin development.
82+
To avoid manually managing dependency versions and to prevent conflicts between Jenkins components, it is recommended to use the Jenkins Bill of Materials (BOM).
83+
The BOM aligns compatible versions across the Jenkins ecosystem and is the standard approach for Jenkins plugin development.
8684

87-
[source,xml]
88-
----
89-
<dependencyManagement>
90-
<dependencies>
91-
<dependency>
92-
<groupId>io.jenkins.tools.bom</groupId>
93-
<artifactId>bom-${jenkins.version}.x</artifactId>
94-
<version>${bom.version}</version>
95-
<type>pom</type>
96-
<scope>import</scope>
97-
</dependency>
98-
</dependencies>
99-
</dependencyManagement>
100-
----
101-
102-
The BOM version should be selected to match the Jenkins version being tested to ensure dependency compatibility.
85+
Details on configuring and using the Jenkins plugin BOM are documented in the link:/doc/developer/tutorial-improve/use-plugin-bill-of-materials/[Use the plugin BOM] section of the Improve a plugin tutorial.
10386

10487
==== Depending on Other Plugins
10588
Any Jenkins plugins that you add as dependencies to your POM with `<scope>test</scope>` will be available in the Jenkins installations created while running test cases, or when using link:/doc/developer/tutorial/run/[`mvn hpi:run`].

0 commit comments

Comments
 (0)