Bazel 7.0.0 & Lombok 1.18.30 issue
Description of the bug:
I create a Bzlmod 7.0.0 with lombok 1.18.30 and Java 17 Why i do this, to have a custom "build" method with hibernate validation for an immutable entity
Archive contains a demo of my issue Here is the issue during JAVA 17 compilation:
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
src/main/java/entity/User.java:60: error: could not resolve element onParam_() in lombok.With
@With(onParam_={
^
src/main/java/entity/User.java:63: error: could not resolve element onMethod_() in lombok.With
}, onMethod_={
^
src/main/java/entity/User.java:68: error: could not resolve element onParam_() in lombok.With
@With(onParam_={
^
src/main/java/entity/User.java:72: error: could not resolve element onMethod_() in lombok.With
}, onMethod_={
^
src/main/java/entity/User.java:77: error: could not resolve element onParam_() in lombok.With
@With(onParam_={
^
src/main/java/entity/User.java:82: error: could not resolve element onMethod_() in lombok.With
@With(onMethod_={
^
<>: error: Turbine is not currently supported by lombok.
It seem to appear only with "onMethod_" and "onParam_" attribut with Lombok. A pom.xml is also join and compilation & test are successfull
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
Ubuntu 23.10
What is the output of bazel info release?
release 7.0.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Did this work for you with earlier Bazel versions? There are known pre-existing issues with Lombok: https://github.com/bazelbuild/bazel/issues/12837
I have made test also with 6.3.2 with the same consequences. It seam to be a duplicate if I understand. Right ?
As-you can see, a TGZ with the modification propose in #12837 is used
Thanks, yes, it sounds like a duplicate