name: legacy-spring-war-maintainer description: Maintain and stabilize legacy Spring WAR projects built with Maven and older servlet stacks such as eGovFrame era systems. Use when dependency conflicts, JDK compatibility, packaging errors, or migration-safe refactors are required without full framework upgrades.
Legacy Spring War Maintainer
Workflow
- Capture baseline constraints. Record current JDK, servlet container, Maven version, and deployment target.
- Reproduce build and package failures.
Run
mvn clean packagewith full errors and identify first failing plugin or dependency. - Resolve dependency drift safely. Pin transitive versions and remove conflicting logging or XML parser combinations.
- Protect runtime compatibility.
Confirm
warpackaging, web.xml or dispatcher config, and datasource settings remain compatible. - Plan incremental modernization. Separate urgent fixes from upgrade backlog to avoid risky all-at-once migrations.
Output Contract
Always provide:
- Compatibility matrix (JDK, Maven, container).
- Minimal safe fix set.
- Packaging and startup verification results.
- Deferred modernization tasks.