Skip to content

UID2-1750: add explicit Lombok dependency (was relying on transitive)#614

Closed
sunnywu wants to merge 1 commit intomainfrom
swi-UID2-1750-lombok-explicit-dependency
Closed

UID2-1750: add explicit Lombok dependency (was relying on transitive)#614
sunnywu wants to merge 1 commit intomainfrom
swi-UID2-1750-lombok-explicit-dependency

Conversation

@sunnywu
Copy link
Copy Markdown
Contributor

@sunnywu sunnywu commented Apr 1, 2026

Summary

  • Add Lombok 1.18.34 as provided + optional dependency explicitly in uid2-admin's pom.xml
  • Register Lombok as an explicit annotationProcessorPath in maven-compiler-plugin

Why

uid2-admin uses Lombok annotations (@Getter, @AllArgsConstructor, lombok.val) but was silently relying on Lombok leaking transitively from uid2-shared's incorrect compile-scope declaration. The companion PR [IABTechLab/uid2-shared#...] fixes uid2-shared to declare Lombok as provided+optional, which stops the transitive leak. uid2-admin must therefore declare Lombok explicitly. See UID2-1750.

Test plan

  • mvn compile passes (151 source files, 0 errors)
  • mvn test passes (698 tests, 0 failures, 1 skipped)
  • mvn dependency:tree | grep lombok shows provided scope (not compile)

🤖 Generated with Claude Code

uid2-admin uses Lombok annotations (@Getter, @AllArgsConstructor,
lombok.val) but was relying on Lombok being leaked transitively from
uid2-shared's compile-scope dependency. Now that uid2-shared correctly
scopes Lombok as provided+optional, uid2-admin must declare it explicitly.

- Add Lombok 1.18.34 as provided+optional dependency
- Register Lombok as annotationProcessorPath in maven-compiler-plugin

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sunnywu sunnywu closed this Apr 1, 2026
@sunnywu sunnywu deleted the swi-UID2-1750-lombok-explicit-dependency branch April 1, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant