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-1331) Removal of non-MXNET classes from JAR
Date Sat, 02 Mar 2019 08:15:00 GMT

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

Gordon Reid updated MXNET-1331:
-------------------------------
    Description: The JAR output by {{make scalapkg}} (say mxnet-full_2.11-INTERNAL.jar)
contains org.slf4j:slf4j-api and args4j:args4j. Similar to MXNET-1302, these none-MXNET packages
should be removed from the JAR and instead added as a dependency to our deployed POM.  (was:
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].

 )

> 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
>            Priority: Minor
>
> The JAR output by {{make scalapkg}} (say mxnet-full_2.11-INTERNAL.jar) contains org.slf4j:slf4j-api
and args4j:args4j. Similar to MXNET-1302, these none-MXNET packages should be removed from
the JAR and instead added as a dependency to our deployed POM.



--
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