Migration Specs

Migration specifications define codebase modernisation rules. These specs pair enforcement (detecting outdated patterns) with remediation (auto-fixing via OpenRewrite recipes).

Specs in this category

ID Spec Enforcement Remediation Severity
MIG-001 Upgrade to Java 17 SonarQube OpenRewrite major
MIG-002 Replace java.util.Date with java.time SpotBugs OpenRewrite major
MIG-003 Spring Boot 3 Migration SonarQube OpenRewrite major

How These Are Enforced

Migration specs are unique: they have both enforcement (detect outdated code) and remediation (OpenRewrite recipe to auto-fix). CI runs enforcement on every PR; remediation is opt-in via mvn rewrite:run.