Skip to content

Commit ed8ec89

Browse files
Torsten Mielkeapupier
authored andcommitted
chore: Remove unused and outdated test dependency com.jcraft:jzlib from camel-netty-http.
The com.jcraft:jzlib dependency was originally added in 2014 (CAMEL-7848) when HTTP compression support was added, as it was an optional dependency for Netty's HttpContentDecompressor. In 2021, the test was refactored and switched to using standard Java GZIPInputStream instead of Netty's HttpContentDecompressor, making jzlib unnecessary. Modern Netty (4.2.x) uses JDK's built-in compression support and doesn't require jzlib. The dependency is not used anywhere in the code and all unit tests pass without it. Made with help from AI tools.
1 parent 5893417 commit ed8ec89

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

components/camel-netty-http/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@
8989
<version>${hamcrest-version}</version>
9090
<scope>test</scope>
9191
</dependency>
92-
<dependency>
93-
<groupId>com.jcraft</groupId>
94-
<artifactId>jzlib</artifactId>
95-
<version>${jzlib-version}</version>
96-
<scope>test</scope>
97-
</dependency>
9892
<dependency>
9993
<groupId>org.apache.camel</groupId>
10094
<artifactId>camel-test-spring-junit6</artifactId>

parent/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@
331331
<juniversalchardet-version>1.0.3</juniversalchardet-version>
332332
<jxmpp-version>1.1.0</jxmpp-version>
333333
<jython-version>2.7.4</jython-version>
334-
<jzlib-version>1.1.3</jzlib-version>
335334
<kafka-version>4.2.0</kafka-version>
336335
<keycloak-client-version>26.0.8</keycloak-client-version>
337336
<kubernetes-client-version>7.6.1</kubernetes-client-version>

0 commit comments

Comments
 (0)