-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Exclude external dependencies from MXNet JAR. #15361
Conversation
To make it clear, all you need to do is to add your removed dependencies in |
@lanking520 - Thanks, I updated a few POM files similar to the PR you mentioned. Except, there's no |
Don't worry much on the GPG end. Let's try to fix the Clojure part first. In here try to add the dependencies from master. This is the configuration pom file for the final package publishing. The core problem currently we have is that the descriptor file (pom file) that we generate did not inlcude the depedencies we exclude. By adding these dependencies in the pom, Clojure would try to fetch the packages and that should resolve the dependencies not found problem |
Since I cannot reproduce the failing build locally, doing a bit of trial-and-error now: Adding the dependencies to clojure, since this is what's failing. |
Thanks all for your comments. CI is green now. Will squash the commits so that it can be pushed. |
CI is green. Two checks are stuck in the UI, but are completed successfully when checking the details. |
Thanks for your contribution, get it shipped |
This was merged in the 1.4 branch - is it also going to make its way to master? |
Description
The current MXNet build process adds external dependencies to the JAR, which may conflict with local dependencies on the classpath. In my case commons-io was replaced by MXNet and caused some method-not-found errors.
Please find my proposed change in the PR. It's work in progress and I'm happy to iterate if we agree on the the general direction. I have seen a similar change on the 1.5.x branch, so I assume we can apply a similar change here.
No testing was done locally and I hope Travis will catch obvious problems.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Comments