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:
<configuration>
<proc>full</proc>
</configuration>
Or at least inform the user that it shall turn it to "full".