mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Reid (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MXNET-1331) Removal of non-MXNET classes from JAR
Date Sat, 02 Mar 2019 08:11:00 GMT
Gordon Reid created MXNET-1331:
----------------------------------

             Summary: Removal of non-MXNET classes from JAR
                 Key: MXNET-1331
                 URL: https://issues.apache.org/jira/browse/MXNET-1331
             Project: Apache MXNet
          Issue Type: Bug
          Components: Apache MXNet Java API, Apache MXNet Scala API
            Reporter: Gordon Reid


The JAR output by {{make scalapkg}} (say mxnet-full_2.11-INTERNAL.jar) contains commons-codec
(1.10) and commons-io (2.1).

This is causing classpath issues when depending on MXNet and commons-io directly.

In my specific case I depend on commons-io 2.5 but the commons-io 2.1 bundled by MXNet is
shadowing my own dependency on 2.5.

 

The fix is to explicitly exclude commons-codec and commons-io from the assembly. The MXNet
library then needs to add commons-codec and commons-io as a [transitive dependency|https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Transitive_Dependencies].

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


Mime
View raw message