Proof / Reference project 001
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
01 / Context
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.
02 / Workflow
Review before changing the code.
- 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.
- 02
Establish the baseline
mvn --batch-mode verifypassed on Java 17 before the migration. A failed baseline would have stopped the recipe run. - 03
Preview, then apply
The dry-run left a reviewable patch. Foundry then invoked Arconia with the custom
com.proofcommit.migrations.UpgradeSpringBoot_3_0recipe. - 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.
03 / Changes
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.*tojakarta.*across both services. - Spring Security
Replaced
authorizeRequestsandantMatcherswithauthorizeHttpRequestsandrequestMatchers. - API documentation
Replaced SpringDoc OpenAPI UI 1.8.0 with the Spring Boot 3-compatible WebMVC starter 2.0.4.
04 / Verification
A result with boundaries.
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.
05 / Inspect it
The evidence stays accessible.
Your system next
Planning a Spring Boot modernization?
Start with the current system, the evidence, and the workflows that cannot afford to regress.
Start a conversation