Migrate to Struts 6.0

Proprietary

Migrate Struts 2.x to Struts 6.0.

org.openrewrite.java.struts.migrate6.MigrateStruts6
mod run . --recipe=org.openrewrite.java.struts.migrate6.MigrateStruts6

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate Struts 2.0 interceptors to action "aware" interfaces
  2. Migrate Dynamic Method Invocation to explicit action mappings
  3. Migrate OpenSymphony classes to Struts 6.0
  4. Upgrade Struts 6.0 dependencies
  5. Migrate to Struts 6.0 constants
  6. Migrate Struts date tag format patterns
  7. Remove deprecated Freemarker ?html built-in
  8. Migrate DTD to a specific Struts version 6.0
  9. Migrate static OGNL method access to action wrapper methods
  10. Migrate xwork-validator DTD to 1.0.4
  11. Change XML attribute
  12. Change XML tag value