Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lombok.config doesn't work in java 21 multi pom projects #1204

Open
Sjoerd-Teijgeler opened this issue Aug 15, 2024 · 0 comments
Open

lombok.config doesn't work in java 21 multi pom projects #1204

Sjoerd-Teijgeler opened this issue Aug 15, 2024 · 0 comments

Comments

@Sjoerd-Teijgeler
Copy link

Sjoerd-Teijgeler commented Aug 15, 2024

Currently I run a setup where Jackson transforms JSON requests into request models with a builder annotation. Before Java 21 this worked fine with the internal Java compiler since it would use lombok.anyConstructor.addConstructorProperties=true which was located in the lombok.config on the root of the multi pom project. But ever since to changing my target to Java 21, it has refused to use lombok.config. Instead I need to compile the entire project with Maven every time I want to run a single test just to make sure the configs are used.

I use Corretto-21 & Lombok 1.18.34

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

No branches or pull requests

1 participant