maven-compiler-plugin icon indicating copy to clipboard operation
maven-compiler-plugin copied to clipboard

Add JDK 23 information and example for annotation processing

Open Bukama opened this issue 6 months ago • 1 comments

Since JDK 23 no annotation processing is done by default for security reason. This PR adds information about this and also adds an example page how to do it in general and what is the recommended way to execute annotation processing (which applies also to earlier JDK versions).

Bukama avatar Jun 27 '25 21:06 Bukama

@slawekjaranowski Any idea why builds fails to spotless, even that I DO apply spotless?

[INFO] --- spotless:2.44.5:apply (default-cli) @ maven-compiler-plugin ---
[INFO] clean file: D:\Github\Maven\maven-compiler-plugin\src\main\java\org\apache\maven\plugin\compiler\AbstractCompilerMojo.java
[INFO] Spotless.Java is keeping 288 files clean - 1 were changed to be clean, 0 were already clean, 287 were skipped because caching determined they were already clean
[INFO] Spotless.Pom is keeping 128 files clean - 0 were changed to be clean, 0 were already clean, 128 were skipped because caching determined they were already clean

Bukama avatar Jun 28 '25 14:06 Bukama