Commit 8387b95
authored
Enable Lombok annotation processor during Java 17 upgrades (#999)
Move EnableLombokAnnotationProcessor from UpgradeToJava25 to
UpgradeToJava17, where the maven-compiler-plugin bump to 3.x
actually breaks implicit annotation processor discovery (JEP 477).
Java 21 and 25 inherit this via chaining. Fixes Lombok compilation
failures (cannot find symbol for getter/setter) after upgrade.
Closes moderneinc/customer-requests#19491 parent 1244e54 commit 8387b95
3 files changed
Lines changed: 14 additions & 25 deletions
File tree
- src
- main/resources/META-INF/rewrite
- test/java/org/openrewrite/java/migrate
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
Lines changed: 13 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
449 | 435 | | |
450 | 436 | | |
451 | 437 | | |
452 | 438 | | |
453 | 439 | | |
454 | 440 | | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | 441 | | |
459 | 442 | | |
460 | 443 | | |
461 | 444 | | |
462 | | - | |
| 445 | + | |
463 | 446 | | |
464 | 447 | | |
465 | 448 | | |
466 | | - | |
467 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
468 | 457 | | |
469 | 458 | | |
470 | 459 | | |
| |||
0 commit comments