java-server-sdk icon indicating copy to clipboard operation
java-server-sdk copied to clipboard

fat jar brings in duplicate copy of `launchdarkly-logging`

Open bplommer opened this issue 3 years ago • 2 comments

Describe the bug The fat jar contains a copy of the launchdarkly-logging library but also introduces a transitive dependency on a separate jar of that library, resulting in duplicates on the classpath - see screenshot from IntelliJ below.

Screenshot 2022-10-04 at 17 19 49

Expected behavior The jar should either contain the logging library or introduce a dependency on a separate jar, but not both.

bplommer avatar Oct 12 '22 10:10 bplommer

Thanks for catching this. The intention is for that library not to be present in the jar, and there was supposed to be a build step to double-check that there are no such duplicated classes, but clearly something went wrong. We should be able to fix this pretty quickly.

eli-darkly avatar Oct 12 '22 18:10 eli-darkly

Sorry for the delay in releasing this patch. The 5.10.3 release removes the redundant dependency.

eli-darkly avatar Oct 21 '22 01:10 eli-darkly

I'm going to go ahead and close the issue, but please reopen it if you find that this did not solve the problem.

eli-darkly avatar Nov 01 '22 19:11 eli-darkly