Major migrations made easy
summary
Two shell commands transform entire codebases: migrate JUnit 4 → JUnit 5 (dependencies, imports, assertions, expected-exception rewrites, Mockito/WireMock updates) and migrate Spring Boot 1.5 → latest across dependencies, properties and tests; a third command upgrades Java 8 → 11+ (add javax artifacts, set source/target, adjust plugins like JaCoCo). Changes come from OpenRewrite recipes that run via Maven/Gradle, operate on an AST with type annotations, and produce safe, minimally invasive, format-preserving refactorings.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:51JUnit Jupiter
- 1:14Spring Boot 2.x
- 1:50Java 11+
- 2:24Common pattern
- 3:29OpenRewrite
- 4:23Abstract syntax tree
- 5:20Recipes
- 6:28JUnit recipe
- 7:38JUnit imports
- 7:57JUnit tests
- 8:23Applications








