Skip to content

[Build][Deps] Support JDK23 lombok annotation processing#10887

Draft
DanielLeens wants to merge 1 commit into
apache:devfrom
DanielLeens:daniel-st-jdk23-lombok-fix
Draft

[Build][Deps] Support JDK23 lombok annotation processing#10887
DanielLeens wants to merge 1 commit into
apache:devfrom
DanielLeens:daniel-st-jdk23-lombok-fix

Conversation

@DanielLeens
Copy link
Copy Markdown
Contributor

What does this PR do?

Fix JDK23 build compatibility for modules that rely on lombok-generated constructors, getters, and loggers.

This change:

  • upgrades lombok.version from 1.18.24 to 1.18.36
  • adds lombok to maven-compiler-plugin annotationProcessorPaths

Why is this needed?

On JDK23, the connector-cdc-base module fails during compile / testCompile because lombok annotation processing is not applied.

Typical failures include missing generated getters, constructors, and log fields.

How was this verified?

Ran in a JDK23 environment:

./mvnw spotless:apply
./mvnw -pl seatunnel-connectors-v2/connector-cdc/connector-cdc-base \
  -Dgit.skip=true -Dmaven.gitcommitid.skip=true \
  -Dtest=HybridSplitAssignerTest test

The targeted CDC module build and test now pass successfully under JDK23.

@davidzollo davidzollo marked this pull request as draft May 14, 2026 13:58
@DanielLeens DanielLeens force-pushed the daniel-st-jdk23-lombok-fix branch from 2c1a4d9 to dfb7185 Compare May 14, 2026 15:07
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