launchdarkly/java-server-sdk

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

bplommer opened this issue · 3 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.

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.

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

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