Migrate OpenSymphony classes to Struts 6.0

Proprietary

Migrate classes from com.opensymphony.xwork2 to their replacements in org.apache.struts2.

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

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. Change type XmlConfigurationProvider to StrutsXmlConfigurationProvider
  2. Change type com.opensymphony.xwork2.conversion.TypeConversionException to org.apache.struts2.conversion.TypeConversionException
  3. Change type XWorkException to StrutsException