Major migrations made easy
summary
OpenRewrite performs version and framework migrations reliably and quickly, converting JUnit 4→JUnit 5 and test assertions, upgrading Spring Boot 1.5→latest and Java 8→17, swapping Log4j for Logback, adopting AssertJ, and fixing Checkstyle findings. It parses code into a lossless semantic AST, applies fine‑grained Java‑visitor recipes that preserve formatting, and runs via Maven/Gradle plugins, achieving minimal, safe edits at scale (hundreds–thousands of services) with recipes published under the Apache license.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:25Manual migrations are painful
- 3:11OpenRewrite automates upgrades
- 5:44OpenRewrite features
- 7:09OpenRewrite recipes
- 9:19JUnit 4 to 5 migration demo
- 11:04Running migration recipes
- 11:47Beyond version upgrades
- 12:50OpenRewrite future plans
- 14:15OpenRewrite community
- 15:40OpenRewrite resources
- 17:05Q&A
related talks
15mMajor migrations made easy
51mMajor Migrations Made Easy
13mMajor migrations made easy
45mMajor migrations made easy
43mAutomate Code Changes - Bringing OpenRewrite to the IDE
41mOpen Rewrite – Dive in Automated Refactoring
13mModernize your money-maker
46mAutomate Your Migrations with Spring Boot Migrator and OpenRewrite
