You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Gordon Reid (JIRA)" <ji...@apache.org> on 2019/01/27 10:35:00 UTC

[jira] [Created] (MXNET-1302) commons-codec/io part of `make scalapkg` output JAR

Gordon Reid created MXNET-1302:
----------------------------------

             Summary: commons-codec/io part of `make scalapkg` output JAR
                 Key: MXNET-1302
                 URL: https://issues.apache.org/jira/browse/MXNET-1302
             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