Open jmborer opened 8 hours ago
We should probably see if there's a way to provide a better warning. I don't think we should be changing the configuration, even if that's possible. @ebarboni what do you think on this one?
I don't think nbm plugin can alter configuration for compiler plugin. Maybe a hint in the IDE could help as well of having a condition in archetypes to add this line according to JDK version.
Thanks! That's what I thought. Hint might be useful for pre-existing projects. Should move that request over to the IDE issue queue.
No need to add the archetype change according to version - should be OK to add in on all supported JDKs. There's a bunch of things that need updating in the archetypes already.
As the pre-processing has changed since JDK 23 (https://inside.java/2024/06/18/quality-heads-up/) and is required by many NB platform functions, the NB Maven plugin shall force the compiler settings to:
Or at least inform the user that it shall turn it to "full".