Skip to content

Commit

Permalink
Add recipe to upgrade jakarta.annotation-api to 2.1.x version (#579)
Browse files Browse the repository at this point in the history
* Add recipe to upgrade jakarta annotations to 2.1.x version

* End with newline; use `.x` as version suffix

---------

Co-authored-by: Tim te Beek <[email protected]>
  • Loading branch information
Laurens-W and timtebeek authored Oct 14, 2024
1 parent d284269 commit a21602a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 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 @@ -36,6 +36,7 @@ recipeList:
- org.openrewrite.java.migrate.jakarta.JavaxBeanValidationXmlToJakartaBeanValidationXml
- org.openrewrite.java.migrate.jakarta.JavaxToJakartaCdiExtensions
- org.openrewrite.java.migrate.jakarta.UpdateJakartaPlatform10
- org.openrewrite.java.migrate.jakarta.UpdateJakartaAnnotations2
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.migrate.jakarta.ServletCookieBehaviorChangeRFC6265
Expand Down Expand Up @@ -288,4 +289,14 @@ recipeList:
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.platform
artifactId: "*"
newVersion: 10.0.0
newVersion: 10.0.0
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.migrate.jakarta.UpdateJakartaAnnotations2
displayName: Update Jakarta EE annotation Dependencies to 2.1.x.
description: Update Jakarta EE annotation Dependencies to 2.1.x.
recipeList:
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.annotations
artifactId: jakarta.annotation-api
newVersion: 2.1.x

0 comments on commit a21602a

Please sign in to comment.