Modernize your money-maker
summary
Automates concrete migrations using OpenRewrite and the mod CLI, running across multiple repositories and producing patch files that apply immediately. Demonstrates replacing Hamcrest with modern assertions, migrating JUnit 3/4 to JUnit 5, upgrading to Java 21 with pattern matching and text blocks, and a Spring Boot 3 migration; one recipe fixes about 60 static-analysis issues at once. Shows dependency bumps, Lombok removal, and CI integration for continuous nudges; the automations run, generate diffs, and successfully apply to the sample money-making app.
AI-written summary · about
chapters (9)
- 0:00Welcome and introduction
- 1:04Why modernize legacy apps
- 2:49Demo setup and tools
- 4:13Modernizing tests with OpenRewrite
- 5:58Migrating from JUnit 4 to 5
- 8:09Upgrading Java and language features
- 9:54Spring Boot 3 migration
- 11:00Fixing code quality issues
- 12:05CI integration and differences
related talks
13mMajor migrations made easy
17mMajor migrations made easy
45mMajor migrations made easy
48mWeeding Your Micro Service Landscape
51mMajor Migrations Made Easy
54mHybrid Modernization: Combining OpenRewrite's Precision with LLM Intelligence for Spring
41mOpen Rewrite – Dive in Automated Refactoring
43mAutomate Code Changes - Bringing OpenRewrite to the IDE
