diff --git a/tests/docker-images/java-test-functions/pom.xml b/tests/docker-images/java-test-functions/pom.xml
index 539a135d946d8..999a0c2b0675e 100644
--- a/tests/docker-images/java-test-functions/pom.xml
+++ b/tests/docker-images/java-test-functions/pom.xml
@@ -39,6 +39,17 @@
pulsar-client
${project.version}
+
+ org.apache.avro
+ avro
+ ${avro.version}
+
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+ ${jackson.databind.version}
+
jar