Overview: Preparing for Spring Boot migration
Spring Boot migrations are rarely just a version bump. You need to understand your repositories, identify hidden dependencies, align build tooling, and plan release waves so downstream services can upgrade safely. This workshop walks you through a realistic, end-to-end prep flow using the Moderne Platform and CLI so you can move into a Spring Boot 4 migration with fewer surprises.
Throughout the workshop, you will see screenshot placeholders and collapsible Reference output sections. Use them as quick sanity checks to confirm you are on the right path. Do not worry if your output differs slightly (CLI versions, repository counts, and file paths can vary).
What you'll learn
- How to perform a dry run and understand what failed
- How to find which Java and Spring Boot versions you're using
- How to plan upgrade waves using dependency data
- How to set a stable baseline before major upgrades
- How to handle third-party blockers like QueryDSL
Prerequisites
To get the most out of this workshop, you should:
- Have basic Java knowledge
- Know how to work with Maven
- Be comfortable running CLI commands and managing git changes
You will also need:
- Moderne CLI (version 3.55.3 or higher recommended)
- A JDK installed locally (Java 17 or higher recommended)
Workshop modules
- Module 1: Migration assessment - Run an initial migration and gather code insight data
- Module 2: Wave planning - Build LSTs, analyze dependencies, and organize upgrade waves
- Module 3: Establish a baseline - Normalize Maven, Java, and Spring Boot versions across the portfolio
- Module 4: Raise baseline and smoke test - Raise the baseline and validate readiness
- Module 5: Finish migration in waves - Use a custom recipe to complete the migration in waves