Skip to content

Commit 2663eb5

Browse files
committed
Add Netty BOM to dependency management to resolve version conflicts
AsyncHttpClient 3.0.3 brings in various Netty 4.2 modules transitively, but the project also has old Netty 4.0.x versions defined (netty.version and netty.all.version). This version mismatch was causing runtime failures where no HTTP requests were being sent. By adding the Netty BOM (Bill of Materials) to dependencyManagement, all Netty modules across the project will be forced to use version 4.2.7.Final consistently, preventing classpath conflicts. This should resolve the test failures in KairosDbSinkTest where requests were not being sent to the mock server.
1 parent cc989a8 commit 2663eb5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,13 @@
976976
<scope>import</scope>
977977
<type>pom</type>
978978
</dependency>
979+
<dependency>
980+
<groupId>io.netty</groupId>
981+
<artifactId>netty-bom</artifactId>
982+
<version>${netty.codec.http.version}</version>
983+
<scope>import</scope>
984+
<type>pom</type>
985+
</dependency>
979986
</dependencies>
980987
</dependencyManagement>
981988
<profiles>

0 commit comments

Comments
 (0)