Skip to content

openrewrite/rewrite-spring

Repository files navigation

Logo

Eliminate legacy Spring patterns. Automatically.

ci Apache 2.0 Maven Central Revved up by Develocity Contributing Guide

What is this?

This project contains a series of Rewrite recipes and visitors to automatically apply best practices in Java Spring Boot applications.

Browse a selection of recipes available through this module in the recipe catalog.

How to use?

See the full documentation at docs.openrewrite.org.

How to generate Spring Boot configuration properties replacement recipes?

  1. Run GeneratePropertiesMigratorConfiguration.java
  2. Revert any unwanted changes to src/main/resources/META-INF/rewrite/*.yml
  3. Commit & push changes.
  4. Repeat periodically as new minor versions of Spring Boot are released.

Contributing

We appreciate all types of contributions. See the contributing guide for detailed instructions on how to get started.