Repository navigation
[java] stop shipping annotation-only jars as POM dependencies - #18212
Conversation
|
/agentic_describe |
|
/agentic_review |
PR Summary by QodoRemove annotation-only dependencies from published Java POMs
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can open the rule or relationship behind a finding in one click |
💥 What does this PR do?
🔧 Implementation Notes
depsto Maven runtime scope andexportsto compile scope, and//java:auto-serviceexports the annotations artifact, so every consumer carried it (runtime in eleven modules, compile inselenium-remote-driver). Tagging that targetmaven:compile_onlyuses the ruleset's stop tag; the exported annotation processor still runs, and theMETA-INF/servicesentries in the chrome, firefox and remote jars are unchanged.@AutoService.selenium-firefox-driver's direct dep on thebidilibrary was the only thing puttingorg.jetbrains:annotationsin its POM;FirefoxDriverreaches those classes throughselenium-remote-driver's exports, asChromiumDriveralready does. It stays at compile scope inselenium-remote-driver, whereApiStatusis useful to IDEs.🤖 AI assistance
🔄 Types of changes