Spring Boot 2.7 → 3.0. Evidence at every step.

How ProofCommit migrated InvoiceFlow from Spring Boot 2.7.18 to 3.0.13 using Foundry, Arconia, OpenRewrite, and custom migration recipes—while deliberately retaining Java 17.

Framework
2.7.18 → 3.0.13
Java runtime
17, unchanged
Code changes
13 files
Verification
Passed before & after
Spring Boot 2.7 to 3.0 migration video featuring Ian Dancan and ProofCommit
Recorded migration From the first inspection to the merged pull request. Published 29 November 2026.

A working system, not an empty demo.

InvoiceFlow is a ProofCommit-owned reference product for invoice and payment workflows. It has two Maven modules: an API and a notification consumer. PostgreSQL persists business state, RabbitMQ connects the services, and Flyway manages the schema.

That gave the migration real surface area: persistence, validation, servlet filters, API security, messaging, tests, containers, and an API-to-email workflow.

Reference-project result. This is not client work, a production certification, or a promise that every Spring Boot 2.7 application migrates without manual changes.

Review before changing the code.

  1. 01

    Inspect and plan

    Foundry captured the declared Java and Spring Boot versions, modules, dependencies, test layout, and delivery configuration, then produced a migration plan.

  2. 02

    Establish the baseline

    mvn --batch-mode verify passed on Java 17 before the migration. A failed baseline would have stopped the recipe run.

  3. 03

    Preview, then apply

    The dry-run left a reviewable patch. Foundry then invoked Arconia with the custom com.proofcommit.migrations.UpgradeSpringBoot_3_0 recipe.

  4. 04

    Verify and review

    The recipe exited successfully, the complete Maven verify lifecycle passed again, and the container workflow was exercised before the changes were reviewed and merged.

More than a version number.

  • Framework

    Updated the Spring Boot parent from 2.7.18 to 3.0.13 while keeping the compiler and runtime on Java 17.

  • Jakarta namespace

    Migrated persistence, validation, and servlet imports from javax.* to jakarta.* across both services.

  • Spring Security

    Replaced authorizeRequests and antMatchers with authorizeHttpRequests and requestMatchers.

  • API documentation

    Replaced SpringDoc OpenAPI UI 1.8.0 with the Spring Boot 3-compatible WebMVC starter 2.0.4.

A result with boundaries.

Baseline Maven verifyPassed
Migration recipeExit code 0
Final Maven verifyPassed
Container and API-to-email workflowRecorded in merged PR

These checks establish that this reference project built and passed its attached verification lifecycle after the migration. They do not, by themselves, establish production health, security, API compatibility, vulnerability status, or safe rollout for another system.

That distinction is part of the work: evidence should support a specific claim, not imply a broader one.

The evidence stays accessible.

Planning a Spring Boot modernization?

Start with the current system, the evidence, and the workflows that cannot afford to regress.

Start a conversation