Skip to content

Commit

Permalink
Jakarta EE Upgrade Recipe Cleanup (#444)
Browse files Browse the repository at this point in the history
* Replace Add/Remove Dependency pairs in Jakarta EE recipes with ChangeDependency

Fixes #317 and #438

* Add upgrades for jakarta platform dependencies

---------

Co-authored-by: Tim te Beek <[email protected]>
  • Loading branch information
Mistborn94 and timtebeek authored Apr 22, 2024
1 parent 7b936c0 commit 6920ea6
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 449 deletions.

This file was deleted.

12 changes: 11 additions & 1 deletion src/main/resources/META-INF/rewrite/jakarta-ee-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ recipeList:
- org.openrewrite.java.migrate.jakarta.BeanValidationMessages
- org.openrewrite.java.migrate.jakarta.JavaxBeansXmlToJakartaBeansXml
- org.openrewrite.java.migrate.jakarta.JavaxToJakartaCdiExtensions
- org.openrewrite.java.migrate.jakarta.UpdateJakartaPlatform10
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.migrate.jakarta.ServletCookieBehaviorChangeRFC6265
Expand Down Expand Up @@ -219,4 +220,13 @@ recipeList:
- org.openrewrite.RenameFile:
fileMatcher: '**/javax.enterprise.inject.spi.Extension'
fileName: jakarta.enterprise.inject.spi.Extension

---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.migrate.jakarta.UpdateJakartaPlatform10
displayName: Update Jakarta EE Platform Dependencies to 10.0.0
description: Update Jakarta EE Platform Dependencies to 10.0.0
recipeList:
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.platform
artifactId: "*"
newVersion: 10.0.0
Loading

0 comments on commit 6920ea6

Please sign in to comment.