Find patterns that require updating for Spring Boot 2.5
Recipe ID
org.openrewrite.java.spring.boot2.search.FindUpgradeRequirementsSpringBoot_2_5Artifact
org.openrewrite.recipe:rewrite-springLooks for a series of patterns that have not yet had auto-remediation recipes developed for.
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.java.spring.boot2.search.FindUpgradeRequirementsSpringBoot_2_5If the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-spring:6.36.0Definition
This recipe runs the following recipes in order.
- Find projects affected by changes to the default error view message attribute
org.openrewrite.java.spring.boot2.search.MessagesInTheDefaultErrorView - In Spring Boot 2.5 a
DefaultConfigurationCustomizercan now be used in favour of defining one or more*Providerbeansorg.openrewrite.java.spring.boot2.search.CustomizingJooqDefaultConfiguration - Applications using logging shutdown hooks
org.openrewrite.java.spring.boot2.search.LoggingShutdownHooks
Data tables
Structured output this recipe can produce.
- Dependencies declaredDirect (first-order) dependencies declared by the project.
org.openrewrite.maven.table.DependenciesDeclared - Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats