-
Notifications
You must be signed in to change notification settings - Fork 550
version 8.9.1 (and 8.9.2-SNAPSHOT) shaded jar not working #900
Comments
I'm also having this issue. It seems to be an issue with a provider-configuration file that's included as part of HK2 -- since HK2 is shaded, the provider interface is relocated but the provider configuration is not. Specifically, if I include a provider-configuration file This issue is known to the Maven developers but not prioritized: https://issues.apache.org/jira/browse/MSHADE-221. |
@bjcohen What correct provider implementation? Tks! |
@mhagnumdw I created a file called |
(it now works on mac with docker for mac) Fix #10, fix #8 We no longer use the shaded version of the jar because of spotify/docker-client#900.
and use ServicesResourceTransformer to relocate class names in META-INF/services/. fixes #900
@mhagnumdw @bjcohen @sanjaypujare Can you test out #922? |
Description
I used 8.9.1 (or 8.9.2-SNAPSHOT version built locally from latest sources) shaded jar but it is not working. Could this be caused by the relocation added for glassfish jar? What's the solution/workaround?
How to reproduce
Used the following test to verify:
What do you expect
Expected the test to succeed (as it does with my own docker-client library which is 8.9.0 plus my own changes which are present in 8.9.1) and produce output from hello-world:latest
What happened instead
I see the following console output/trace:
Software:
docker version
:Full backtrace
The text was updated successfully, but these errors were encountered: