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] [Updated] (MXNET-1302) commons-codec/io part of `make scalapkg` output JAR
Date Sat, 02 Mar 2019 08:11:00 GMT

     [ https://issues.apache.org/jira/browse/MXNET-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gordon Reid updated MXNET-1302:
-------------------------------
    Resolution: Fixed
        Status: Done  (was: To Do)

> 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
>            Priority: Minor
>          Time Spent: 7h
>  Remaining Estimate: 0h
>
> 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