Skip to content

Commit 147eff5

Browse files
committed
Create a separate 3.x best practices without chained upgrade
1 parent 2c8ba78 commit 147eff5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/main/resources/META-INF/rewrite/best-practices.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,17 @@ tags:
4040
- spring
4141
- boot
4242
recipeList:
43-
# These steps go above & beyond what's needed for a pure upgrade, and are not be included with 3.x upgrades themselves
44-
- org.openrewrite.java.migrate.UpgradeToJava21 # Allows for virtual threads
4543
- org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3
44+
---
45+
type: specs.openrewrite.org/v1beta/recipe
46+
name: org.openrewrite.java.spring.boot3.SpringBoot3BestPracticesOnly
47+
displayName: Spring Boot 3.3 best practices (only)
48+
description: Applies best practices to Spring Boot 3 applications, without chaining in upgrades to Spring Boot.
49+
tags:
50+
- spring
51+
- boot
52+
recipeList:
53+
# These steps go above & beyond what's needed for a pure upgrade, and are not be included with 3.x upgrades themselves
4654
- org.openrewrite.java.spring.boot3.EnableVirtualThreads
4755
- org.openrewrite.java.spring.framework.BeanMethodsNotPublic # Intentionally not in 2.x
4856
# Replace literals with constants and simplify MediaType parse calls

0 commit comments

Comments
 (0)