diff --git a/scala-package/assembly/src/main/assembly/assembly.xml b/scala-package/assembly/src/main/assembly/assembly.xml
index 7525df883dab..a8384894d492 100644
--- a/scala-package/assembly/src/main/assembly/assembly.xml
+++ b/scala-package/assembly/src/main/assembly/assembly.xml
@@ -10,6 +10,8 @@
*:*:jar
+ commons-codec:
+ commons-io:*
org.scala-lang:*
org.scala-lang.modules:*
diff --git a/scala-package/core/pom.xml b/scala-package/core/pom.xml
index 7264c39e84a0..da91582a332e 100644
--- a/scala-package/core/pom.xml
+++ b/scala-package/core/pom.xml
@@ -144,10 +144,16 @@
4.11
test
+
+ commons-codec
+ commons-codec
+ 1.10
+
commons-io
commons-io
2.1
+ provided
diff --git a/scala-package/deploy/src/main/deploy/deploy.xml b/scala-package/deploy/src/main/deploy/deploy.xml
index 7bfd20737537..fb7af108e150 100644
--- a/scala-package/deploy/src/main/deploy/deploy.xml
+++ b/scala-package/deploy/src/main/deploy/deploy.xml
@@ -29,5 +29,15 @@
scala-compiler
SCALA_VERSION
+
+ commons-codec
+ commons-codec
+ 1.10
+
+
+ commons-io
+ commons-codec
+ 2.1
+
diff --git a/scala-package/macros/pom.xml b/scala-package/macros/pom.xml
index 52dfde181d72..186e5ec0ef9b 100644
--- a/scala-package/macros/pom.xml
+++ b/scala-package/macros/pom.xml
@@ -21,9 +21,10 @@
provided
- commons-io
- commons-io
- 2.1
+ commons-codec
+ commons-codec
+ 1.10
+ provided
diff --git a/scala-package/pom.xml b/scala-package/pom.xml
index 07baeab9b63f..bf6a25efd6a6 100644
--- a/scala-package/pom.xml
+++ b/scala-package/pom.xml
@@ -377,6 +377,7 @@
commons-codec
commons-codec
1.10
+ provided
org.apache.logging.log4j