This is an automated email from the ASF dual-hosted git repository.

MartijnVisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-cassandra.git

commit 6e54e12fa455c547956b983ab8a2ba37fa6490ab
Author: Martijn Visser <[email protected]>
AuthorDate: Wed Oct 21 19:16:14 2026 +0200

    [FLINK-38485][Connectors/Cassandra] Add commons-codec to the test classpath
    
    Flink 1.19.3 and later ship commons-compress 1.26.0, which declares
    commons-codec as optional. With the Testcontainers commons-compress
    excluded, every ITCase fails with a NoClassDefFoundError on
    org/apache/commons/codec/Charsets.
    
    Generated-by: Claude Code (Claude Opus 5.5)
---
 flink-connector-cassandra/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/flink-connector-cassandra/pom.xml 
b/flink-connector-cassandra/pom.xml
index 29694e4..b7b5c62 100644
--- a/flink-connector-cassandra/pom.xml
+++ b/flink-connector-cassandra/pom.xml
@@ -214,6 +214,15 @@ under the License.
                        </exclusions>
                </dependency>
 
+               <!-- Flink's commons-compress 1.26.0 declares commons-codec as 
optional,
+               but Testcontainers needs it to copy files into the containers 
-->
+               <dependency>
+                       <groupId>commons-codec</groupId>
+                       <artifactId>commons-codec</artifactId>
+                       <version>1.16.1</version>
+                       <scope>test</scope>
+               </dependency>
+
                <dependency>
                        <groupId>net.bytebuddy</groupId>
                        <artifactId>byte-buddy</artifactId>

Reply via email to