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.