kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-18752: Fix the warning of no-operation caused by slf4j in building kafka

Open frankvicky opened this issue 9 months ago • 1 comments

JIRA: KAFKA-18752 In KAFKA-18466, we remove the slf4j impl from runtime scope to fix the compatibility issue (see https://github.com/apache/kafka/pull/17373#issuecomment-2580893706). However, that also causes a side effect: when running some tasks, slf4j can't find any provider as they are included in "release-only". We could fix this by adding releaseOnly to the class path.

This patch leverages the task collection API to enable specific tasks to access releaseOnly dependencies.

frankvicky avatar Apr 17 '25 06:04 frankvicky

Build output: image

frankvicky avatar Apr 17 '25 06:04 frankvicky