diff --git a/external/mqtt/src/main/assembly/assembly.xml b/external/mqtt/src/main/assembly/assembly.xml
index 13747d65cbee5..ecab5b360eb3e 100644
--- a/external/mqtt/src/main/assembly/assembly.xml
+++ b/external/mqtt/src/main/assembly/assembly.xml
@@ -21,15 +21,20 @@
false
+
+
+ ${project.build.directory}/scala-${scala.binary.version}/test-classes
+ /
+
+
+
true
test
- false
true
org.apache.hadoop:*:jar
- org.apache.spark:*:jar
org.apache.zookeeper:*:jar
org.apache.avro:*:jar