Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant