Skip to content

Commit 5bd1a82

Browse files
Tobianasihrasko
authored andcommitted
Use jetty-bom to override dependency version.
Overriding only the jetty-server dependency can lead to version mismatches with other Jetty artifacts used in the project, such as http2-server, jetty-alpn-server, and jetty-alpn-java-server. To ensure all related Jetty dependencies use the same version, it is a best practice to import the Jetty Bill of Materials (BOM). This will manage the versions for all Jetty artifacts consistently. Signed-off-by: tobias.pobocik <[email protected]> (cherry picked from commit 2fd5d32)
1 parent 2337cfa commit 5bd1a82

File tree

1 file changed

+3
-1
lines changed
  • lighty-core/dependency-versions

1 file changed

+3
-1
lines changed

lighty-core/dependency-versions/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
<!-- FIXME remove this when ODL bumps to newer jetty -->
2626
<dependency>
2727
<groupId>org.eclipse.jetty</groupId>
28-
<artifactId>jetty-server</artifactId>
28+
<artifactId>jetty-bom</artifactId>
2929
<version>9.4.58.v20250814</version>
30+
<type>pom</type>
31+
<scope>import</scope>
3032
</dependency>
3133
<dependency>
3234
<groupId>org.opendaylight.odlparent</groupId>

0 commit comments

Comments
 (0)