Commit 83f0e68
Add recipe to replace jakarta jws-api with ws-api in EE10 (#1151)
* Add recipe to replace jakarta jws-api with ws-api in EE10
* Add test for removing jws-api for EE10 recipe
* Update recipes.csv
* Use ChangeDependency for in-place jws-api replacement; assert exact replacement in test
* Keep AddDependency fallback for transitive jakarta.jws-api
* Use AssertJ assertion verifying 4.x version instead of pinning exact patch
---------
Co-authored-by: Tim te Beek <tim@moderne.io>1 parent 48213f6 commit 83f0e68
3 files changed
Lines changed: 120 additions & 4 deletions
File tree
- src
- main/resources/META-INF/rewrite
- test/java/org/openrewrite/java/migrate/jakarta
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
| |||
483 | 484 | | |
484 | 485 | | |
485 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
486 | 514 | | |
487 | 515 | | |
488 | 516 | | |
| |||
0 commit comments