GitHub user dukehoff added a comment to the discussion: Lombok issues with 
NetBeans due to used javac version

For NetBeans 31 there is now a plugin for projects that can't move to Lombok 
1.18.48 yet: Lombok for nb-javac, in Tools > Plugins > Available Plugins 
(Plugin Portal), source at https://github.com/dukehoff-gmbh/lombok-nb-javac.

It bundles a Lombok that works with the IDE's nb-javac (1.18.48) and uses it on 
the annotation processor path for the IDE's own analysis only, in place of an 
older Lombok from the project. Your Maven/Gradle build and the project's Lombok 
version stay as they are. Restart the IDE after installing; projects open 
during the install keep their processor path until then.

A daily check publishes which Lombok versions work with which nb-javac 
(NetBeans master, open nb-javac PRs, newest on Central): 
https://github.com/dukehoff-gmbh/lombok-nb-javac/issues/1. So when the next 
NetBeans moves ahead of Lombok again, it shows whether a working Lombok exists 
yet.

GitHub link: 
https://github.com/apache/netbeans/discussions/8221#discussioncomment-19311460

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to