This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
commons-codec/io part of make scalapkg
output JAR
#13929
Labels
make scalapkg
output JAR
#13929
This is related #13528 (which is referring to the inclusion of the Scala standard library).
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.
I have a commit in my fork which excludes commons-codec and commons-io from the assembly jessr92@0b141f7 but I would like to assist in fixing the problem directly.
I see two options:
My current knowledge of Maven is sufficiently shallow that I would appreciate input from maintainers regarding the most appropriate fix for the project and making the fix more general (removal of Scala standard library, SLF4j and any other 3rd party libraries currently bundled).
Thanks
The text was updated successfully, but these errors were encountered: