You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2019/03/06 06:32:46 UTC

[incubator-mxnet] branch master updated: [MXNET-1331] Removal of non-MXNET classes from JAR (#14303)

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

zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 19d737f  [MXNET-1331] Removal of non-MXNET classes from JAR (#14303)
19d737f is described below

commit 19d737f4fa0ac5a9cdbe16201bb31dd77625215b
Author: Gordon Reid <go...@users.noreply.github.com>
AuthorDate: Wed Mar 6 06:32:29 2019 +0000

    [MXNET-1331] Removal of non-MXNET classes from JAR (#14303)
---
 scala-package/assembly/src/main/assembly/assembly.xml |  2 ++
 scala-package/deploy/src/main/deploy/deploy.xml       | 10 ++++++++++
 2 files changed, 12 insertions(+)

diff --git a/scala-package/assembly/src/main/assembly/assembly.xml b/scala-package/assembly/src/main/assembly/assembly.xml
index 4c3d173..3a8e11b 100644
--- a/scala-package/assembly/src/main/assembly/assembly.xml
+++ b/scala-package/assembly/src/main/assembly/assembly.xml
@@ -30,6 +30,8 @@
         <exclude>org.scala-lang.modules:*</exclude>
         <exclude>commons-io:commons-io</exclude>
         <exclude>commons-codec:commons-codec</exclude>
+        <exclude>org.slf4j:slf4j-api</exclude>
+        <exclude>args4j:args4j</exclude>
       </excludes>
       <outputDirectory>/</outputDirectory>
       <useProjectArtifact>true</useProjectArtifact>
diff --git a/scala-package/deploy/src/main/deploy/deploy.xml b/scala-package/deploy/src/main/deploy/deploy.xml
index c5be7e2..7265e7d 100644
--- a/scala-package/deploy/src/main/deploy/deploy.xml
+++ b/scala-package/deploy/src/main/deploy/deploy.xml
@@ -55,5 +55,15 @@
       <artifactId>commons-io</artifactId>
       <version>2.1</version>
     </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.7.5</version>
+    </dependency>
+    <dependency>
+      <groupId>args4j</groupId>
+      <artifactId>args4j</artifactId>
+      <version>2.0.29</version>
+    </dependency>
   </dependencies>
 </project>