Skip to content

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

Open
sunnywu wants to merge 1 commit intomainfrom
syw-UID2-1750-lombok-explicit-dependency
Open

UID2-1750: add explicit Lombok dependency (was relying on transitive)#615
sunnywu wants to merge 1 commit intomainfrom
syw-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 pom.xml
  • Register Lombok as an explicit annotationProcessorPath in maven-compiler-plugin

Why

uid2-admin uses Lombok annotations (@Getter, @AllArgsConstructor, lombok.val in 9 files) but was silently relying on Lombok leaking transitively from uid2-shared's incorrect compile-scope declaration. The companion PR IABTechLab/uid2-shared#610 fixes uid2-shared to declare Lombok as provided+optional, stopping 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)

Merge uid2-shared companion PR first, then this one.

🤖 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>
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