Skip to content

Commit 4005c28

Browse files
authored
Update proc note (#447)
1 parent 8b44654 commit 4005c28

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,13 @@ Use source code generation to adapt annotated REST controllers `@Path, @Get, @Po
4747
</dependency>
4848
```
4949

50-
### JDK 22+
50+
### JDK 23+
5151

52-
In JDK 22+, annotation processors are disabled by default, you will need to add a flag to re-enable.
52+
In JDK 23+, annotation processors are disabled by default, you will need to add a flag to re-enable.
5353
```xml
54-
<plugin>
55-
<groupId>org.apache.maven.plugins</groupId>
56-
<artifactId>maven-compiler-plugin</artifactId>
57-
<configuration>
58-
<compilerArgument>-proc:full</compilerArgument>
59-
</configuration>
60-
</plugin>
54+
<properties>
55+
<maven.compiler.proc>full</maven.compiler.proc>
56+
</properties>
6157
```
6258

6359
## Define a Controller (These APT processors work with both Java and Kotlin)

0 commit comments

Comments
 (0)