mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Reid (JIRA)" <>
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
             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|].


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message