Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 2.2 KB

File metadata and controls

49 lines (33 loc) · 2.2 KB

Spring Rewrite Commons

Overview

Spring Rewrite Commons provides abstractions and parsers for OpenRewrite.

OpenRewrite is a code refactoring, remediation, and modernization automation tool providing a rich catalog of recipes for task like automated code transformations.

These are the main components offered by Spring Rewrite Commons:

Using Spring Rewrite Commons

Examples

Some working examples exist to demo what can be built using Spring Rewrite Commons.

  • Atomically upgrade a Spring Boot application

  • Iteratively upgrade a Spring Boot application using PRs

  • Find applicable recipes by doing a dry-run

All examples can be found here.

Limitations

The project has currently some limitations.

  1. JDK 17 is a requirement

  2. Kotlin is not supported.

  3. Styles are not supported

  4. Migrating projects for Maven plugins might fail