diff --git a/scala-package/assembly/linux-x86_64-cpu/src/main/assembly/assembly.xml b/scala-package/assembly/linux-x86_64-cpu/src/main/assembly/assembly.xml
index a574f8af25d9..8823aba7673b 100644
--- a/scala-package/assembly/linux-x86_64-cpu/src/main/assembly/assembly.xml
+++ b/scala-package/assembly/linux-x86_64-cpu/src/main/assembly/assembly.xml
@@ -9,6 +9,14 @@
*:*:jar
+
+ org.scala-lang:*
+ org.scala-lang.modules:*
+ commons-io:commons-io
+ commons-codec:commons-codec
+ org.slf4j:slf4j-api
+ args4j:args4j
+
/
true
true
diff --git a/scala-package/assembly/linux-x86_64-gpu/src/main/assembly/assembly.xml b/scala-package/assembly/linux-x86_64-gpu/src/main/assembly/assembly.xml
index 3a064bf9f2ce..71efe67aa772 100644
--- a/scala-package/assembly/linux-x86_64-gpu/src/main/assembly/assembly.xml
+++ b/scala-package/assembly/linux-x86_64-gpu/src/main/assembly/assembly.xml
@@ -9,6 +9,14 @@
*:*:jar
+
+ org.scala-lang:*
+ org.scala-lang.modules:*
+ commons-io:commons-io
+ commons-codec:commons-codec
+ org.slf4j:slf4j-api
+ args4j:args4j
+
/
true
true
diff --git a/scala-package/assembly/osx-x86_64-cpu/main/assembly/assembly.xml b/scala-package/assembly/osx-x86_64-cpu/main/assembly/assembly.xml
index fecafecad31e..89a96ba6e66b 100644
--- a/scala-package/assembly/osx-x86_64-cpu/main/assembly/assembly.xml
+++ b/scala-package/assembly/osx-x86_64-cpu/main/assembly/assembly.xml
@@ -9,6 +9,14 @@
*:*:jar
+
+ org.scala-lang:*
+ org.scala-lang.modules:*
+ commons-io:commons-io
+ commons-codec:commons-codec
+ org.slf4j:slf4j-api
+ args4j:args4j
+
/
true
true
diff --git a/scala-package/assembly/osx-x86_64-cpu/src/main/assembly/assembly.xml b/scala-package/assembly/osx-x86_64-cpu/src/main/assembly/assembly.xml
index bdbd09f170c0..74878ea63efe 100644
--- a/scala-package/assembly/osx-x86_64-cpu/src/main/assembly/assembly.xml
+++ b/scala-package/assembly/osx-x86_64-cpu/src/main/assembly/assembly.xml
@@ -9,6 +9,14 @@
*:*:jar
+
+ org.scala-lang:*
+ org.scala-lang.modules:*
+ commons-io:commons-io
+ commons-codec:commons-codec
+ org.slf4j:slf4j-api
+ args4j:args4j
+
/
true
true
diff --git a/scala-package/core/pom.xml b/scala-package/core/pom.xml
index 0ee749419655..d985efd16dcf 100644
--- a/scala-package/core/pom.xml
+++ b/scala-package/core/pom.xml
@@ -104,10 +104,5 @@
1.3.1-SNAPSHOT
provided
-
- commons-io
- commons-io
- 2.1
-
diff --git a/scala-package/macros/pom.xml b/scala-package/macros/pom.xml
index ae4c60a1e6d0..cfd68b5e1dc2 100644
--- a/scala-package/macros/pom.xml
+++ b/scala-package/macros/pom.xml
@@ -63,11 +63,6 @@
provided
${libtype}
-
- commons-io
- commons-io
- 2.1
-
diff --git a/scala-package/pom.xml b/scala-package/pom.xml
index fe78a629ed20..f6ffc577fd2f 100644
--- a/scala-package/pom.xml
+++ b/scala-package/pom.xml
@@ -330,6 +330,11 @@
commons-codec
1.10
+
+ commons-io
+ commons-io
+ 2.1
+
log4j
log4j